CacheControl / CacheControl/json-rules-engine
not boolean expression
- Dominant language
- JavaScript
- Stars
- 3.1k
- Forks
- 507
- PR merge metrics
- No merged PRs in 30d
Description
is it posible to implement a `not` boolean expression?
Example:
```
conditions: {
not: {
all: [{
fact: 'gameDuration',
operator: 'equal',
value: 40
}, {
fact: 'personalFoulCount',
operator: 'greaterThanInclusive',
value: 5
}]
}
},
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the rule-condition handling and existing condition syntax in the repository, then compare it with the proposed nested `not` and `all` example. Determine how negated conditions should be represented and validated, and confirm completion with coverage for the example behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100