Skip to content

Commit 5e76ca0

Browse files
committed
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 | Fix symfony#54617 | | License |MIT | resolves symfony#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
2 parents 3ad4e94 + fc7d413 commit 5e76ca0

File tree

4 files changed

+809
-85
lines changed

4 files changed

+809
-85
lines changed

0 commit comments

Comments
 (0)