Commit 1ae24df
committed
minor symfony#52992 [Serializer] Make sure Serializer::denormalize() shows what exception it throws (Nyholm)
This PR was merged into the 5.4 branch.
Discussion
----------
[Serializer] Make sure Serializer::denormalize() shows what exception it throws
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues | no
| License | MIT
This was missing from symfony#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.
Commits
-------
bca846b Make sure Serializer::denormalize have show what exception it throws1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| |||
0 commit comments