Skip to content

Conversation

@bobvandevijver
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
Doc updated no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT

The new union handler does not consider false or true as a primitive type, causing my array|false with an array value to be serialised as true.

@bobvandevijver bobvandevijver marked this pull request as draft December 19, 2024 09:48
@bobvandevijver bobvandevijver marked this pull request as ready for review December 19, 2024 10:06
@scyzoryck
Copy link
Collaborator

Good catch! Thanks!

@scyzoryck scyzoryck merged commit f974e58 into schmittjoh:master Dec 19, 2024
20 checks passed
@scyzoryck scyzoryck added the Union Types Support for Union Types label Dec 19, 2024
@bobvandevijver bobvandevijver deleted the patch-1 branch January 15, 2025 10:38
@bobvandevijver
Copy link
Contributor Author

@scyzoryck Any sight on a release containing this change?

@scyzoryck
Copy link
Collaborator

@bobvandevijver - released! Enjoy!

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