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

fix(typeEvaluator): fix in-operator union handling #253

Closed
wants to merge 1 commit into from

Conversation

sgulseth
Copy link
Member

@sgulseth sgulseth commented Jul 26, 2024

We weren't handling union with nulls properly. This reduces over the lhs/rhs on opcall nodes when evaluating conditions

Fixes sanity-io/sanity#6628

@sgulseth sgulseth force-pushed the fix/conditional-in-operator branch from cd4bcf7 to aedb463 Compare July 26, 2024 09:19
@sgulseth sgulseth requested a review from a team July 26, 2024 09:28
Copy link
Member

@tzhelyazkova tzhelyazkova left a comment

Choose a reason for hiding this comment

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

looks good to me but maybe @judofyr also wants to take a look?

@sgulseth
Copy link
Member Author

Closing in favor of #256

@sgulseth sgulseth closed this Aug 21, 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.

TypeGen generates Array<never> for query using "in"
2 participants