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
Describe the bug
When we implement the unmarshal interface for an object we don't call it when unmarshalling the object depending on how we perform the call. This can lead to panics in the decoder on malformed input.
Describe the bug
When we implement the unmarshal interface for an object we don't call it when unmarshalling the object depending on how we perform the call. This can lead to panics in the decoder on malformed input.
To Reproduce
playground-link
Expected behavior
I would expect .UnmarshalYAML() to have the same behavior as the yaml.Unmarshal(, &) when obj implements the UnmarshalYAML method.
Screenshots
N/A
Version Variables
Tested on:
Additional context
N/A
The text was updated successfully, but these errors were encountered: