Open polkx opened 6 months ago
Related to #432 - same kind of issue - properties on resources are implemented as Outputs of structs, collections of structs or primitives or collections of primitives. These structs do not hold their data in Output
s - those are raw case classes. This means that their decoders are all-or-nothing and any failure trips the whole field as the error has to bubble up to the nearest Output. Solution to this is discussed in #432 - we should change our codegen to generate case classes with Output fields and fix Decoder stack to handle this properly. This in turn will allow for granular secretness control and granular control of decoding failure of some fields like in this issue (non-nullable field is null).
When I try to get an organization from method aws.organizations.getOrganization the Error shows up about deserializing a list.
Dependencies:
Main class:
Stack trace: