-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Serializer] MetadataAwareNameConverter break groups parameters #34455
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
Labels
Comments
I can confirm the same problem. Changing the
|
I just submitted a fix, apologies for that 😞 |
nicolas-grekas
added a commit
that referenced
this issue
Nov 28, 2019
…ing group (antograssiot) This PR was merged into the 4.3 branch. Discussion ---------- [Serializer] Fix MetadataAwareNameConverter usage with string group | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #34455 | License | MIT | Doc PR | Allow to use the short syntax for serialization context group like `['groups' => 'user']` Commits ------- d4f749a [Serializer] Fix MetadataAwareNameConverter usage with string group
soyuka
added a commit
to soyuka/core
that referenced
this issue
Aug 31, 2020
soyuka
added a commit
to soyuka/core
that referenced
this issue
Aug 31, 2020
soyuka
added a commit
to soyuka/core
that referenced
this issue
Aug 31, 2020
soyuka
added a commit
to soyuka/core
that referenced
this issue
Aug 31, 2020
soyuka
added a commit
to soyuka/core
that referenced
this issue
Aug 31, 2020
soyuka
added a commit
to api-platform/core
that referenced
this issue
Sep 1, 2020
* Use symfony/serializer >=4.4.9-5.0.9 to fix issues symfony/symfony#34455 symfony/symfony#36601 * Lowest + legacy test suite missing git * fix Symfony 5 router generate with reference type
hultberg
pushed a commit
to hultberg/symfony
that referenced
this issue
Sep 17, 2021
…ith string group (antograssiot) This PR was merged into the 4.3 branch. Discussion ---------- [Serializer] Fix MetadataAwareNameConverter usage with string group | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix symfony#34455 | License | MIT | Doc PR | Allow to use the short syntax for serialization context group like `['groups' => 'user']` Commits ------- d4f749a [Serializer] Fix MetadataAwareNameConverter usage with string group
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Symfony version(s) affected: 4.3.7
Description
Since #34035, cannot denormalize with that syntax
['groups' => 'user']
How to reproduce
https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Serializer/NameConverter/MetadataAwareNameConverter.php#L126
Possible Solution
@antograssiot If you could have a look at this
Additional context
The text was updated successfully, but these errors were encountered: