type Check = (parent, args, context, info) => | RuleResult | Promise<RuleResult>;
Defined in: packages/graphql-casl/src/rules.ts:66
The predicate behind a CheckableRule: the standard resolver arguments without resolve, answering "may this field be resolved?".
resolve
unknown
any
GraphQLResolveInfo
| RuleResult | Promise<RuleResult>
RuleResult
Promise
Because it cannot call the resolver, a check can be evaluated speculatively — which is what lets CheckableRules be combined.
There was an error while loading. Please reload this page.