-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Serializer] Fix inconsistent behaviour of nullable objects in key/value arrays #45884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
edited by nicolas-grekas
Q | A |
---|---|
Branch? | 5.4 |
Bug fix? | yes |
New feature? | no |
Deprecations? | no |
Tickets | Fix #45883 |
License | MIT |
Doc PR | - |
Hey! I think @Th3Mouk has recently worked with this code. Maybe they can help review this? Cheers! Carsonbot |
I don't know about the change, but this should target 5.4 or maybe 4.4 if the bug exists there also. Can you please confirm? |
src/Symfony/Component/Serializer/Tests/Normalizer/MapDenormalizationTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Serializer/Tests/Normalizer/MapDenormalizationTest.php
Outdated
Show resolved
Hide resolved
@nicolas-grekas yes this also applies to 5.4.x (I changed the PR to target 5.4 now) ... 4.4.x seems to be far off so running the test will result in totally different errors so i guess it's incompatible. Maybe someone with deeper knowledge/understanding of the component can check on 4.4? |
…lue arrays Fixes symfony/45883
/cc @symfony/mergers anyone available to review this one? |
@nicolas-grekas No one here to review? We also would love to see this fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the detailed issue and for the fix!
Thank you @phramz. |