Skip to content

Conversation

@norkunas
Copy link
Contributor

@norkunas norkunas commented Aug 3, 2022

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets N/A
License MIT
Doc PR N/A

Currently it's possible to catch most errors with serializer when using DenormalizerInterface::COLLECT_DENORMALIZATION_ERRORS => true but there was no tests trying to deserialize list of objects with an invalid value.

So it failed my expectations, because in an api using serializer, consumers could get 500 instead of the proper response, therefore I've submit this as a bugfix.

@norkunas norkunas force-pushed the fix-array-denormalizer branch from cfef3ac to 6337bfd Compare August 3, 2022 05:36
@nicolas-grekas nicolas-grekas changed the base branch from 6.2 to 5.4 August 3, 2022 06:43
@nicolas-grekas nicolas-grekas modified the milestones: 6.2, 5.4 Aug 3, 2022
@fabpot
Copy link
Member

fabpot commented Aug 3, 2022

Thank you @norkunas.

@NorthBlue333
Copy link

Fixes #46649.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants