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

Add true/false as primitive types #1582

Merged
merged 1 commit into from
Dec 19, 2024

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
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