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
It looks like go-yaml doesn't support generics very well. Custom (Un-)Marshaller on a struct like MyType isn't called. The only way to get the Data Attribute exported is to make it public.
This is fully ignored:
typeMyType[Tany] struct {
dataT
}
This is exported, but the implemented MarshalYAML and UnmarshalYAML functions are never called:
It looks like go-yaml doesn't support generics very well. Custom (Un-)Marshaller on a struct like MyType isn't called. The only way to get the Data Attribute exported is to make it public.
This is fully ignored:
This is exported, but the implemented
MarshalYAML
andUnmarshalYAML
functions are never called:https://go.dev/play/p/Fb7yQ-gAQJn
The text was updated successfully, but these errors were encountered: