Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Serializer] Fix ObjectNormalizer default context with named serializers#60026

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

HypeMC
Copy link
Member

QA
Branch?7.2
Bug fix?yes
New feature?no
Deprecations?no
IssuesFix#59639
LicenseMIT

As mentioned in#59639, the main problem is that arguments have precedence over bindings, and children inherit arguments from their parents.

This PR moves the logic for setting the default context ofObjectNormalizer from the extension to theSerializerPass, where only bindings are used.

@HypeMCHypeMC requested a review fromdunglas as acode ownerMarch 24, 2025 04:43
@carsonbotcarsonbot added this to the7.2 milestoneMar 24, 2025
@HypeMCHypeMCforce-pushed thefix-context-with-object-normalize branch from3e641ad to6dde315CompareMarch 24, 2025 04:47
@HypeMCHypeMCforce-pushed thefix-context-with-object-normalize branch from6dde315 to80d993fCompareMarch 24, 2025 12:46
@fabpot
Copy link
Member

Thank you@HypeMC.

@fabpotfabpot merged commit02161b7 intosymfony:7.2Mar 26, 2025
4 of 11 checks passed
@HypeMCHypeMC deleted the fix-context-with-object-normalize branchMarch 26, 2025 09:46
@fabpotfabpot mentioned this pull requestMar 28, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@mtarldmtarldmtarld approved these changes

@dunglasdunglasAwaiting requested review from dunglasdunglas is a code owner

Assignees
No one assigned
Projects
None yet
Milestone
7.2
Development

Successfully merging this pull request may close these issues.

5 participants
@HypeMC@fabpot@nicolas-grekas@mtarld@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp