Commit fc4e19b
committed
bug #46847 [Serializer] Cannot use Context attribute context in AdvancedNameConverterInterface::denormalize (ogizanagi)
This PR was merged into the 6.2 branch.
Discussion
----------
[Serializer] Cannot use Context attribute context in AdvancedNameConverterInterface::denormalize
| Q | A
| ------------- | ---
| Branch? | 6.2 <!-- see below -->
| Bug fix? | yes
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets | Fix #46680 <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License | MIT
| Doc PR | N/A
I realized we can't use the `Context` attribute context in an `AdvancedNameConverterInterface::denormalize`, same as spotted already in 5.4 in #46525.
Also adds the missing CHANGELOG entry for #46680
Commits
-------
c99082c [Serializer] Cannot use @context context in AdvancedNameConverterInterface::denormalizeFile tree
2 files changed
+7
-2
lines changed- src/Symfony/Component/Serializer
- Normalizer
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
4 | 9 | | |
5 | 10 | | |
6 | 11 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
338 | | - | |
| 337 | + | |
| 338 | + | |
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| |||
0 commit comments