Skip to content

Conversation

Gwemox
Copy link
Contributor

@Gwemox Gwemox commented Jun 24, 2022

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #46396
License MIT

Fix bug when deserialize union types with constructor. Before that, MissingConstructorArgumentsException was thrown even if another type matched.

Is similar to #45861

@Gwemox Gwemox changed the title [Serializer] Fix denormalization union type with constructor [Serializer] Fix denormalization union types with constructor Jun 24, 2022
@carsonbot
Copy link

Hey!

I think @jeroennoten has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

@nicolas-grekas nicolas-grekas modified the milestones: 4.4, 6.2 Jun 26, 2022
@nicolas-grekas
Copy link
Member

Thank you @Gwemox.

@nicolas-grekas nicolas-grekas merged commit 1b2ab75 into symfony:4.4 Jun 26, 2022
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