Deprecated
This will be replaced by by wrapResolve, wrapSubscribe, and wrapResolveType
import { type SubscribeHooks } from "https://deno.land/x/pothos@release-1670043728/packages/core/mod.ts";
Type Parameters
Types extends SchemaTypes
Properties
optional
overwriteSubscribe: (parent: unknown,
args: { },
context: Types["Context"],
info: GraphQLResolveInfo,
originalResolver: GraphQLFieldResolver<unknown, Types["Context"]>,
optional
onSubscribe: (value: unknown) => MaybePromise<void>optional
onValue: (child: unknown) => MaybePromise<T | null>