-
Notifications
You must be signed in to change notification settings - Fork 8
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
contains should contain either value or nested expression #8
Comments
@Recvi we have used the library to filter lists of Pojos by allowing the properties in the query to use the dot notation so your query could look like this perhaps?
Here is our implementation: And the implementation of contains and in: The public code we have using it for complex objects is too convoluted to be useful for a reference to you so here is a test showing the usage but on simple types: |
Thank you @terrypacker, for your response! Your solutions seems like an interesting alternative. https://gist.github.com/Recvi/9e11c752d5499cb8bcff50af28a81e95 The reason I opted for the
But it still seems, like a limitation not having nested expressions inside |
Hi, really great project!
I'm implementing a Custom Visitor, and it seems from: https://github.com/jazdw/rql-parser/blob/main/src/main/antlr4/net/jazdw/rql/Rql.g4
that
contains
PredicateOperator can only have a value and not a nested expression.What I am trying to accomplish is to query a specific field (name) from a list of objects (categories) with multiple values (in operator):
Query:
Do you have any suggestion on how to proceed?
The text was updated successfully, but these errors were encountered: