Skip to content

index.Interface.CreateCanOptions

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

Interface: CreateCanOptions

Defined in: packages/graphql-casl/src/createCan.ts:43

Options for createCan.

Properties

onUnconditionedSubject?

optional onUnconditionedSubject?: UnconditionedSubjectMode;

Defined in: packages/graphql-casl/src/createCan.ts:50

How to handle a bare-subject check against a conditioned subject. Default 'warn'.

See

UnconditionedSubjectMode

API Reference

Clone this wiki locally