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 discriminator map not working withAbstractNormalizer::OBJECT_TO_POPULATE#50480

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

Conversation

@HypeMC
Copy link
Member

QA
Branch?6.2
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#50472
LicenseMIT
Doc PR-

Ensures that the mapped class is taken fromAbstractNormalizer::OBJECT_TO_POPULATE if it's set.

@soyuka
Copy link
Contributor

👍 Thanks@HypeMC

HypeMC reacted with thumbs up emoji

@nicolas-grekas
Copy link
Member

Thank you@HypeMC.

@nicolas-grekasnicolas-grekas merged commite901262 intosymfony:6.2May 31, 2023
@HypeMCHypeMC deleted the fix-discriminator-with-object-to-populate branchMay 31, 2023 10:08
@HypeMC
Copy link
MemberAuthor

@nicolas-grekas It just occurred to me that this problem exists on v5.4 as well, should I open a new PR and target that branch?

@nicolas-grekas
Copy link
Member

yes please

nicolas-grekas added a commit that referenced this pull requestMay 31, 2023
…actNormalizer::OBJECT_TO_POPULATE` (HypeMC)This PR was merged into the 5.4 branch.Discussion----------[Serializer] Fix discriminator map not working with `AbstractNormalizer::OBJECT_TO_POPULATE`| Q             | A| ------------- | ---| Branch?       | 5.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       | -| License       | MIT| Doc PR        | -Followup / backport of#50480 since it should've originally targeted 5.4.The test is the same as in the previous PR, when merging upstream the changes in `instantiateObject()` should be discarded.Commits-------ce08608 [Serializer] Fix discriminator map not working with `AbstractNormalizer::OBJECT_TO_POPULATE`
This was referencedJun 26, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@dunglasdunglasAwaiting requested review from dunglasdunglas is a code owner

1 more reviewer

@soyukasoyukasoyuka approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

6.2

Development

Successfully merging this pull request may close these issues.

4 participants

@HypeMC@soyuka@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp