Support boolean logic on a field comparison level
mavarazy opened this issue · 0 comments
mavarazy commented
In order to express complicated logic (like ranges or value in), we need to extend used predicate
library, by adding support for basic boolean operations - NOT, AND and OR.
let rules = {
telephone: {
action: "remove",
when: {
age: {
not: {
greater: 5,
less : 70,
}
}
}
}
}