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 denormalizing scalar with UnwrappingDenormalizer#39180

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

@camilledejoye
Copy link
Contributor

QA
Branch?5.1
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#38983
LicenseMIT
Doc PRnone

In order to work theUnwrappingDenormlizer needs to be called first to unwrap the data so that it can be handled by other denormalizers.
To not introduce any BC break this PR does not move the logic into it's own class, instead it checks if a denormalizer supports the data and only denormalize scalar values if there is none.

@camilledejoyecamilledejoyeforce-pushed thebugfix-38983/scalar-denormalization-unwrapping branch from8679530 to21ce093CompareNovember 26, 2020 13:58
@camilledejoyecamilledejoyeforce-pushed thebugfix-38983/scalar-denormalization-unwrapping branch from21ce093 to98cf389CompareNovember 26, 2020 18:43
@fabpot
Copy link
Member

Thank you@camilledejoye.

@fabpotfabpot merged commit3d384ba intosymfony:5.1Nov 27, 2020
@camilledejoyecamilledejoye deleted the bugfix-38983/scalar-denormalization-unwrapping branchNovember 27, 2020 08:43
This was referencedNov 29, 2020
hultberg pushed a commit to hultberg/symfony that referenced this pull requestSep 17, 2021
…ngDenormalizer (camilledejoye)This PR was merged into the 5.1 branch.Discussion----------[Serializer] Fix denormalizing scalar with UnwrappingDenormalizer| Q             | A| ------------- | ---| Branch?       | 5.1| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       |Fixsymfony#38983| License       | MIT| Doc PR        | noneIn order to work the `UnwrappingDenormlizer` needs to be called first to unwrap the data so that it can be handled by other denormalizers.To not introduce any BC break this PR does not move the logic into it's own class, instead it checks if a denormalizer supports the data and only denormalize scalar values if there is none.Commits-------98cf389 fix denormalizing scalar with UnwrappingDenormalizer
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@derrabusderrabusderrabus approved these changes

@dunglasdunglasAwaiting requested review from dunglasdunglas is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

5.1

Development

Successfully merging this pull request may close these issues.

4 participants

@camilledejoye@fabpot@derrabus@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp