Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pothos/packages/plugin-scope-auth/types.ts>UnauthorizedResolver

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
type alias UnauthorizedResolver
import { type UnauthorizedResolver } from "https://deno.land/x/pothos@release-1671046252/packages/plugin-scope-auth/types.ts";

Type Parameters

Types extends SchemaTypes
ParentShape
Type extends TypeParam<Types>
Nullable extends FieldNullability<Type>
Args extends InputFieldMap
definition: (
parent: ParentShape,
args: InputShapeFromFields<Args>,
context: Types["Context"],
info: GraphQLResolveInfo,
error: Error,
) => MaybePromise<ShapeFromTypeParam<Types, Type, Nullable>>