type PermissionResolver = (typeName, fieldName) => Rule | undefined;
Defined in: packages/graphql-casl/src/applyPermissions.ts:290
Looks up the rule guarding one field, already wrapped with the error-control and masking options.
string
Rule | undefined
Rule
undefined
Returns undefined for a field left unguarded.
This is the whole permission layer minus the binding to graphql-middleware — see resolvePermissions.
graphql-middleware
There was an error while loading. Please reload this page.