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
go-rest accepts nil values for seemingly every field, regardless of the Type specified in the rule. This leads to panics if the user does a type assertion in InputHandler functions or other code.
It doesn't seem like there are many use cases for intentionally allowing null inputs if the type is e.g. rest.String or rest.Map.
The text was updated successfully, but these errors were encountered:
go-rest accepts
nil
values for seemingly every field, regardless of theType
specified in the rule. This leads to panics if the user does a type assertion inInputHandler
functions or other code.It doesn't seem like there are many use cases for intentionally allowing
null
inputs if the type is e.g.rest.String
orrest.Map
.The text was updated successfully, but these errors were encountered: