-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels