Skip to content
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

[Serializer] Fix deserialization_path missing using contructor #52713

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

mtarld
Copy link
Contributor

@mtarld mtarld commented Nov 24, 2023

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #44925 #52683
License MIT

While trying to fix #44925, I used a wrong approach (#52683), and therefore introduced a bug.

This PR fixes it and solve the previous issue in a better way.

@xabbuh
Copy link
Member

xabbuh commented Nov 24, 2023

Thank you @mtarld.

@xabbuh xabbuh merged commit cd98a3f into symfony:5.4 Nov 24, 2023
2 of 11 checks passed
@mtarld mtarld deleted the fix/deserialization-path branch November 24, 2023 10:30
nicolas-grekas added a commit that referenced this pull request Nov 24, 2023
…ext value twice (xabbuh)

This PR was merged into the 6.3 branch.

Discussion
----------

[Serializer] do not detect the deserialization_path context value twice

| Q             | A
| ------------- | ---
| Branch?       | 6.3
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        |
| License       | MIT

#52713 must not be applied on 6.3+ as the logic is already part of the `getAttributeDenormalizationContext()` method introduced in #46680.

Commits
-------

9b027a5 do not detect the deserialization_path context value twice
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.

None yet

3 participants