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

Failing test case: ''|array{foo: int} if superfluous key exists #495

Conversation

Tigerman55
Copy link

Found an issue where valinor does not appear to interpret a union with an empty string and array when the array being mapped contains a superfluous key. I was also able to reproduce this bug using string|array{foo:int}.

@romm
Copy link
Member

romm commented Mar 15, 2024

Thanks for the report! You're definitely lucky, people have been complaining for this kind of errors for a long time and I just decided to fix it with #493. 😊

@Tigerman55
Copy link
Author

Thanks for the report! You're definitely lucky, people have been complaining for this kind of errors for a long time and I just decided to fix it with #493. 😊

Very cool! 😎

@romm romm closed this in #493 Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants