Skip to content
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

Disable Union support by default. Add option to enable it optionally #1577

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

scyzoryck
Copy link
Collaborator

Q A
Bug fix? yes
New feature? no
Doc updated yes
BC breaks? yes - bring back to 3.30 behavior as default
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT

Disable unions by default. Add method that enables it in serialiser.
It will affect schmittjoh/JMSSerializerBundle#954 - unionHandler will be registered but useless as types are disabled in driver.

Related #1566

@scyzoryck scyzoryck added the Union Types Support for Union Types label Dec 8, 2024
@scyzoryck scyzoryck force-pushed the feature-optional-union-support branch from a05e5ae to 1436dc2 Compare December 8, 2024 21:06
@scyzoryck scyzoryck requested a review from goetas December 8, 2024 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Union Types Support for Union Types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant