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

Tests for "fix: Do not convert union types to string #37" #31

Conversation

nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Nov 10, 2023

Signed-off-by: Joas Schilling <[email protected]>
@nickvergessen nickvergessen added the bug Something isn't working label Nov 10, 2023
@nickvergessen nickvergessen marked this pull request as draft November 10, 2023 13:38
"description": "Weird list",
"required": true,
"schema": {
"type": "string"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is wrong and not good 🙈

@provokateurin
Copy link
Member

provokateurin commented Dec 6, 2023

I hit the same problem but simply by using a union type like string|int. They always end up as type: string. Opened #36

@provokateurin
Copy link
Member

Fixed in #37

@nickvergessen nickvergessen changed the title Mixed literals are broken Tests for "fix: Do not convert union types to string #37" Dec 7, 2023
@nickvergessen
Copy link
Member Author

Test added in #59

@provokateurin provokateurin deleted the bugfix/noid/mixed-literals branch January 17, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants