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

Do not change types during deseralization #1578

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 no
BC breaks? no
Deprecations? no
Tests pass? no
Fixed tickets #1573 #1566
License MIT

Let's make tests more strict, as self::assertEquals(1, true); is true... 🤡

It shows the change of thet type during serialization.
During deserialization - if the type is possible for the property - let's keep it. If not possible - let's try to guess.

@scyzoryck scyzoryck added the Union Types Support for Union Types label Dec 17, 2024
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