The main issue is that we can assign nil to scalar attribute of a struct.
In case of nested struct (eg. Meta) we could embed by-pointer, but it seems overkilling in case of scalars.
However, may be we do not need Unassigned and Null for attributes of these resources (ie. Schema, ResourceType, and ServiceProviderConfig. If we can confirm that then we can close this issue and document this special case.
Currently Structured Resources does not implement Unassigned and Null rules.
The main issue is that we can assign
nil
to scalar attribute of astruct
. In case of nestedstruct
(eg.Meta
) we could embed by-pointer, but it seems overkilling in case of scalars.However, may be we do not need Unassigned and Null for attributes of these resources (ie.
Schema
,ResourceType
, andServiceProviderConfig
. If we can confirm that then we can close this issue and document this special case.