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

Can't Check if value is in a list of values #64

Open
mfreeman-xtivia opened this issue Nov 27, 2018 · 0 comments
Open

Can't Check if value is in a list of values #64

mfreeman-xtivia opened this issue Nov 27, 2018 · 0 comments

Comments

@mfreeman-xtivia
Copy link

The documentation states that the library leverages the predicate library and i would like to use

http://landau.github.io/predicate/#includes

to test whether a value exists in the supplied list. But I get an invalid predicate error when i use something like this.....

{"vehicleOwner": {"not": {"includes": ["Other","Business"] }}}

and from what i can tell its unhappy about 0 and 1 being the "indexes" on the predicate. Is this the right way to use this rule and test for inclusion in a list? or am i missing something

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

No branches or pull requests

1 participant