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
I have a type declaration type Foo string and trying to unmarshal a yaml int value into it.
When the decoder tries to set the value it panics.
panic: reflect.Set: value of type string is not assignable to type Foo
It works fine if the value is a string and not the type def of Foo.