Skip to content

index.Variable.deny

github-actions[bot] edited this page Nov 30, 2026 · 26 revisions

Variable: deny

const deny: CheckableRule;

Defined in: packages/graphql-casl/src/rules.ts:518

An always-fail CheckableRule: denies with Forbidden without invoking the resolver. Use to block a field for every caller.

API Reference

Clone this wiki locally