Skip to content

Conversation

@nrobinaubertin
Copy link
Contributor

@nrobinaubertin nrobinaubertin commented Sep 10, 2019

Q A
Branch? master for features
Bug fix? no
New feature? yes
BC breaks? yes
Deprecations? no
Tests pass? yes
Fixed tickets #32622
License MIT
Doc PR symfony/symfony-docs#...

Hi,
I added support for a special serialization group: '*'.
This group lets any group serialize the attribute marked with it.

The BC break comes from the fact that someone could have used the '*' group in their code.

Copy link
Member

@fabpot fabpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Can you change the base branch to master and rebase?

@nrobinaubertin
Copy link
Contributor Author

I've implemented the change proposed by @stloyd based on the idea of @dunglas, rebased on master and fixed some tests.
There's still some that fail but I'm not used to symfony internals and I don't immediately see the changes I should make. If someone more knowledgeable can help, I would be thankful.

@fabpot
Copy link
Member

fabpot commented Aug 23, 2020

@nrobinaubertin Can you take @ogizanagi suggestion into account and fix the unit tests? Thank you.

@nrobinaubertin
Copy link
Contributor Author

@nrobinaubertin Can you take @ogizanagi suggestion into account and fix the unit tests? Thank you.

Done. I added two tests but the previous ones were already working.
The fails of the CI are not related to this PR

@fabpot
Copy link
Member

fabpot commented Aug 25, 2020

Thank you @nrobinaubertin.

@ToGo101
Copy link

ToGo101 commented Aug 17, 2021

Could it be, that this important note:

Symfony\Component\Serializer\Normalizer/AbstractNormalizer.php:250
// If you update this check, update accordingly the one in Symfony\Component\PropertyInfo\Extractor\SerializerExtractor::getProperties()

has been overseen an the change not made to the extractor?

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.

8 participants