You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rule builder returned by createCan when no buildSubject tagger is
provided. Only bare-subject checks are possible: getSubjectData is omitted
because, without a tagger, the built subject would carry no __typename, so
CASL could not classify it and every conditioned check would silently fail.
Pass a buildSubject to createCan to unlock condition checks.
Type Parameters
TSubjectMap
TSubjectMapextendsRecord<string, object>
The subject map, e.g. SubjectMap<Resolvers, ResolversTypes>.