Skip to content

Commit 154d168

Browse files
committed
feature #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 | Fix #54617 | | License |MIT | resolves #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 ------- fc7d4134a2 validate empty request MapQueryString/MapRequestPayload skips validation when empty request is sent
2 parents b3ffc1f + e81f2c3 commit 154d168

File tree

2 files changed

+799
-75
lines changed

2 files changed

+799
-75
lines changed

0 commit comments

Comments
 (0)