You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(reporting on the behalf of @kzantow) The only reason to have a MetadataType field is so that when marshalled to JSON, there is an identifier available to determine which type to unmarshal to. However, this can be entirely handled in the JSON encoding/decoding using something similar to:
Should be done in conjunction with #1844 . Also consider consolidating all instances where a user would need to make an addition when a new metadata struct is added to also be generated by the same method as done in #1841 .
(reporting on the behalf of @kzantow) The only reason to have a
MetadataType
field is so that when marshalled to JSON, there is an identifier available to determine which type to unmarshal to. However, this can be entirely handled in the JSON encoding/decoding using something similar to:The text was updated successfully, but these errors were encountered: