The Resource Objects doc is outdated as of v0.15 of the app-sdk, as significant changes were made to the structure of the resource.Object interface (and resource.Kind/resource.Codec were introduced to remove the marshal/unmarshal logic from resource.Object), as well as to the structure of metadata (custom metadata is now a construct that only exists within the kind definition, not in the generated code--said custom metadata is converted into annotation getters/setters in the generated type). The doc should be updated to reflect the changes.
The Resource Objects doc is outdated as of
v0.15
of the app-sdk, as significant changes were made to the structure of theresource.Object
interface (andresource.Kind
/resource.Codec
were introduced to remove the marshal/unmarshal logic fromresource.Object
), as well as to the structure of metadata (custom metadata is now a construct that only exists within the kind definition, not in the generated code--said custom metadata is converted into annotation getters/setters in the generated type). The doc should be updated to reflect the changes.