Open AnalogJ opened 3 months ago
I have a struct that looks like:
type Example struct { ItemId string `json:"item_id,omitempty" yaml:"-"` }
When generating using tygo, the ItemId field is always ignored (not present in the final generated .ts file). It seems that yaml tags override json tags.
ItemId
Hmm, happy to accept a PR that fixes this - I'd say this is a bug.
I have a struct that looks like:
When generating using tygo, the
ItemId
field is always ignored (not present in the final generated .ts file). It seems that yaml tags override json tags.