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 using the UnmarshalRequest function, an error occures if a non-nil values is unmarshalled for a number type.
It seems that conversion can not be done on a reflection level for pointer types.
When using the
UnmarshalRequest
function, an error occures if a non-nil values is unmarshalled for a number type.It seems that conversion can not be done on a reflection level for pointer types.
Considering the following snippet:
The following error will be produced:
The root cause seems to be inside the decoder in the
unmarshalField
function:lmdrouter/decoder.go
Line 193 in fb89207
I will create a PR which will fix this behaviour and add a naiv test case.
The text was updated successfully, but these errors were encountered: