function race(...rules): CheckableRule;
Defined in: packages/graphql-casl/src/combinators.ts:323
Sequential or: evaluates operands in order and stops at the first one that passes.
...Rule[]
Rule
The operands, in evaluation order.
CheckableRule
A checkable rule.
When all of them fail, the last operand's error is thrown.
Put the cheap or common case first — a passing first operand means the rest never run.
Like or, an operand that throws counts as a failed operand and the next one still runs; the error is rethrown only if no operand passes.
Query: { report: race(isCachedAsAllowed, askOpenFga) }
There was an error while loading. Please reload this page.