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

Remove resolve condition, use walk to determine conditions #260

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

sgulseth
Copy link
Member

Two changes included in this PR:
* Removes resolveCondition so that we can reuse types that are walked when we are resolving filters.
* Introduces BooleanInterpretation that can be used to determine boolean conditions

@sgulseth sgulseth marked this pull request as ready for review August 23, 2024 08:28
Copy link
Collaborator

@judofyr judofyr left a comment

Choose a reason for hiding this comment

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

LGTM. I've focused mainly on:

  • Correctness of the boolean interpretation logic.
  • That the test cases look sensible.

Let's improve the implementation further later by adding more tests.

@sgulseth sgulseth merged commit a80da20 into main Aug 23, 2024
8 checks passed
@sgulseth sgulseth deleted the feat/typeevaluator/resolve-condition branch August 23, 2024 10:46
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