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

onEmptyFilter fixes for logical operators #14555

Merged
merged 3 commits into from
Sep 11, 2024

Conversation

mike12345567
Copy link
Collaborator

Description

Test cases for return none/all with the logical operators, as well as updates to the hasFilter to support this correctly.

This changes the hasFilters to be properly aware of logical operators, making sure it can recurse as is needed to get through the $and and $or groups.

Also adds test cases for this - empty filters with all and none.

… updates to the hasFilter to support this correctly.
@mike12345567 mike12345567 self-assigned this Sep 11, 2024
@mike12345567 mike12345567 requested a review from a team as a code owner September 11, 2024 09:37
@mike12345567 mike12345567 requested review from samwho and removed request for a team September 11, 2024 09:37
@github-actions github-actions bot added firestorm Data/Infra/Revenue Team size/s labels Sep 11, 2024
Copy link
Contributor

@deanhannigan deanhannigan left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@mike12345567 mike12345567 merged commit 868a802 into master Sep 11, 2024
9 checks passed
@mike12345567 mike12345567 deleted the fix/logical-operators-return-none branch September 11, 2024 11:20
@github-actions github-actions bot locked and limited conversation to collaborators Sep 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
firestorm Data/Infra/Revenue Team size/s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants