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
{{ message }}
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
The text was updated successfully, but these errors were encountered:
ievgennaida
changed the title
V3 new unmarshal interface does not support unmarchal object partially.
V3 unmarshal interface does not support unmarchal object partially.
Sep 2, 2024
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
UnmarshalYaml does not support to decode struct without calling it recursively.
Problem is described here:
https://stackoverflow.com/questions/60636689/custom-unmarshalyaml-interface-for-an-interface-and-its-implementations
Usecase:
Decode should not call UnmarshalYaml recursively.
old interface was supporting all those features because unmarshal is not calling UnmarshalYAML
func (m *MyStruct) UnmarshalYAML(unmarshal func(interface{}) error) error {
The text was updated successfully, but these errors were encountered: