-
-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot validate values of type "NULL" automatically #2731
Labels
Comments
Duplicate: #1282 |
3 tasks
See #2757 |
I had the same problem, and solved it by disabling the validation with
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When calling a collection post operation and if forgot to include a body then the api should handle this gracefully and return a 400 error instead of 500.
Currently it tries to validate "null" because controller result is null and symfony validator obviously doesn't like it.
Response from api:
The text was updated successfully, but these errors were encountered: