-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
(bug) Invalid query was not detected by linter nor evaluation #2786
Comments
Hello @AfikAtashga and thanks for opening this issue. The rule engine is based on When it comes to error, here we are using the |
I've added a basic check in the version |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Observed behaviour
I created a rule, with several targeting queries and variations.
Query:
(param eq "someValue or param eq "someValue2" or param eq "someValue3") and secondParam eq "someOtherValue"
I had a missing
"
which was not detected by linter.Afterwards, I expected that when evaluation occur it'll return an error for failing to evaluate, but it's just skipped the evaluation of this specific query, and returned the default.
Expected Behavior
I expected the following behavior:
Steps to reproduce
I created a few go tests the simulate the problem.
The attached .yaml file is passing the linter verification.
feature_flag_reproduce.zip
The text was updated successfully, but these errors were encountered: