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

AND precedence over OR is not respected #5

Closed
epifab opened this issue Oct 22, 2021 · 1 comment
Closed

AND precedence over OR is not respected #5

epifab opened this issue Oct 22, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@epifab
Copy link
Owner

epifab commented Oct 22, 2021

at the moment the DSL doesn't respect AND precedence over OR

example:

a or b and  c

will compile down to (a OR b) AND c

this represents a major difference with CQL.

the current workaround is:

a or (b and c)

which will compile down to a OR (b AND c)

@epifab epifab added the bug Something isn't working label Oct 28, 2021
@epifab
Copy link
Owner Author

epifab commented Oct 29, 2021

same resolution as #9

@epifab epifab closed this as completed Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant