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

x/pothos/packages/core/types/builder-options.ts>Resolver

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

Type Parameters

Parent
Args
Context
Type
optional
Return = unknown
definition: (
parent: Parent,
args: Args,
context: Context,
info: GraphQLResolveInfo,
) => [Type] extends [readonly (infer Item)[] | null | undefined] ? ListResolveValue<Type, Item, Return> : MaybePromise<Type>