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
When a field is of type interface{} function decodeInterfaceValue(…) will be called.
It should be checked if the next code, is nil and the nil behavior should be respected by the interfaceValue(…) method.
We've developed a patch – debugged and tested – but since we're not really familiar with the library this patch might be incomplete.
The interface field isn't set to
nil
when msgpack code isnil
.Expected Behavior
The field value of the struct is set to
nil
.Current Behavior
Application is panic'ing:
Possible Solution
When a field is of type
interface{}
functiondecodeInterfaceValue(…)
will be called.It should be checked if the next code, is nil and the
nil
behavior should be respected by theinterfaceValue(…)
method.We've developed a patch – debugged and tested – but since we're not really familiar with the library this patch might be incomplete.
Steps to Reproduce
Context (Environment)
Detailed Description
See above
Possible Implementation
The text was updated successfully, but these errors were encountered: