Skip to content

[Serializer] Fix MetadataAwareNameConverter usage with string group #34490

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

Merged
merged 1 commit into from
Nov 28, 2019

Conversation

antograssiot
Copy link
Contributor

@antograssiot antograssiot commented Nov 21, 2019

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']

@nicolas-grekas
Copy link
Member

Thank you @antograssiot.

nicolas-grekas added a commit that referenced this pull request 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
@nicolas-grekas nicolas-grekas merged commit d4f749a into symfony:4.3 Nov 28, 2019
@antograssiot antograssiot deleted the fix-34455 branch November 28, 2019 13:16
This was referenced Dec 1, 2019
hultberg pushed a commit to hultberg/symfony that referenced this pull request 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants