Skip to content

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

Open
scyzoryck wants to merge 1 commit into
schmittjoh:masterfrom
scyzoryck:feature-optional-union-support
Open

Disable Union support by default. Add option to enable it optionally#1577
scyzoryck wants to merge 1 commit into
schmittjoh:masterfrom
scyzoryck:feature-optional-union-support

Conversation

@scyzoryck
Copy link
Copy Markdown
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
@dmaicher
Copy link
Copy Markdown

Is there any plan moving this forward? 🤔

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.

2 participants