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 check runs before the resolver; a denial rejects and the resolver never
runs. An error raised inside the check propagates unchanged rather than
being converted into a denial, so a broken check is not silently mistaken for
a legitimate Forbidden.
Example
constisSelf=rule((parent,args: {id: string},ctx)=>args.id===ctx.userId||'You may only read your own profile',{name: 'isSelf'},);