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
It seems to be impossible to validate request properly when sent empty. For both query string and request payload mapper will return null and skip validation. Using default value makes callable being called with object which may be invalid.
Symfony version(s) affected
6.4.6
Description
It seems to be impossible to validate request properly when sent empty. For both query string and request payload mapper will return
null
and skip validation. Using default value makes callable being called with object which may be invalid.How to reproduce
Possible Solution
Possible solution would be to make mapper method return default value if defined instead of returning
null
Additional Context
No response
The text was updated successfully, but these errors were encountered: