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
feature symfony#57577 [FrameworkBundle][HttpKernel] Let RequestPayloadValueResolver consider mapped argument type (unixslayer)
This PR was merged into the 7.2 branch.
Discussion
----------
[FrameworkBundle][HttpKernel] Let `RequestPayloadValueResolver` consider mapped argument type
| Q | A |
| --- | --- |
| Branch? | 7.2 |
| Bug fix?| no |
| New feature?| yes |
| Deprecations? | no |
| Issues | Fixsymfony#54617 |
| License |MIT |
resolvessymfony#54617
In case of sending empty request, `RequestPayloadValueResolver` should consider argument type. In case empty request is considered invalid, having attribute as non-nullable without default value will cause to perform denormalization using empty input resulting with proper error message in response.
Commits
-------
fc7d413 validate empty request MapQueryString/MapRequestPayload skips validation when empty request is sent
0 commit comments