-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Serializer] Make sure Serializer::denormalize() shows what exception it throws #52992
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nyholm
added a commit
to Nyholm/symfony
that referenced
this pull request
Dec 11, 2023
maxbeckers
approved these changes
Dec 12, 2023
mtarld
approved these changes
Dec 12, 2023
fabpot
approved these changes
Dec 13, 2023
Thank you @Nyholm. |
This was missing from #42502. We have no contract that explains that this exceptions should be thrown.
With this addition, we technically make this a "sometimes" feature of the Serializer class.