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] Use object class resolver when extracting attributes#30711

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

@joelwurtz
Copy link
Contributor

QA
Branch?4.2
Bug fix?yes
New feature?no
BC breaks?no (not sure)
Deprecations?no
Tests pass?yes
Fixed tickets
LicenseMIT
Doc PR

Current ObjectNormalizer was not using the object class resolver when extracting attributes, i found this when trying to refactor api platform normalizers and dealing with doctrine proxy objet havinginitialize property not wanted cfapi-platform/core#2579

I don't think this is BC break, but maybe some people using this object class resolver can get different behavior ?

teohhanhui reacted with thumbs up emoji
@joelwurtzjoelwurtz changed the base branch frommaster to4.2March 26, 2019 14:15
@joelwurtzjoelwurtz changed the titleFeature/serializer object class resolver[Serializer] Use object class resolver when extracting attributesMar 26, 2019
@fabpotfabpotforce-pushed thefeature/serializer-object-class-resolver branch fromc384f41 to1d8b5afCompareMarch 27, 2019 06:23
@fabpot
Copy link
Member

Thank you@joelwurtz.

@fabpotfabpot merged commit1d8b5af intosymfony:4.2Mar 27, 2019
fabpot added a commit that referenced this pull requestMar 27, 2019
…ributes (joelwurtz)This PR was squashed before being merged into the 4.2 branch (closes#30711).Discussion----------[Serializer] Use object class resolver when extracting attributes| Q             | A| ------------- | ---| Branch?       | 4.2| Bug fix?      | yes| New feature?  | no| BC breaks?    | no (not sure)| Deprecations? | no| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |Current ObjectNormalizer was not using the object class resolver when extracting attributes, i found this when trying to refactor api platform normalizers and dealing with doctrine proxy objet having __initialize__ property not wanted cfapi-platform/core#2579I don't think this is BC break, but maybe some people using this object class resolver can get different behavior ?Commits-------1d8b5af [Serializer] Use object class resolver when extracting attributes
@fabpotfabpot mentioned this pull requestApr 2, 2019
@joelwurtzjoelwurtz deleted the feature/serializer-object-class-resolver branchAugust 14, 2023 20:13
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@joelwurtz@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp