Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pothos/packages/plugin-scope-auth/index.ts>ResolveStep

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

Type Parameters

Types extends SchemaTypes

Properties

run: (
parent: unknown,
args: Record<string, unknown>,
context: { },
info: GraphQLResolveInfo,
setResolved: (val: unknown) => void,
) => MaybePromise<AuthFailure | null>
errorMessage: string | ((
parent: unknown,
args: Record<string, unknown>,
context: { },
info: GraphQLResolveInfo,
) => string)