grafana / grafana-app-sdk

An SDK for developing apps for grafana using kubernetes-like storage and operators
Apache License 2.0
44 stars 8 forks source link

[docs] Update the Resource Object doc #253

Closed IfSentient closed 4 months ago

IfSentient commented 4 months ago

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.