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
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: