Skip to content

Conversation

@fancyweb
Copy link
Contributor

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets #37742
License MIT
Doc PR -

The strategy is to sort the passed classes from the "bottom" one in the hierarchy to the "top" one so that the first is_a in getMappedObjectType() is right.

@fabpot
Copy link
Member

fabpot commented Aug 18, 2020

@fancyweb Can you check the tests?

@fancyweb fancyweb force-pushed the serializer-fix-class-discriminator branch from 8232835 to c16a192 Compare August 18, 2020 07:04
@fancyweb
Copy link
Contributor Author

@fabpot Tests are green :-)

@fabpot
Copy link
Member

fabpot commented Aug 18, 2020

Thank you @fancyweb.

@fabpot fabpot merged commit 7f7b447 into symfony:4.4 Aug 18, 2020
@fancyweb fancyweb deleted the serializer-fix-class-discriminator branch August 18, 2020 07:35
This was referenced Aug 31, 2020
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.

3 participants