Can't Check if value is in a list of values
mfreeman-xtivia opened this issue · 0 comments
mfreeman-xtivia commented
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