Module

x/pothos/packages/plugin-relay/index.ts>PothosRelayPlugin

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
class PothosRelayPlugin
extends BasePlugin<Types>
import { PothosRelayPlugin } from "https://dotland.deno.dev/x/pothos@release-1670972010/packages/plugin-relay/index.ts";

Methods

wrapResolve(resolver: GraphQLFieldResolver<unknown, Types["Context"], object>, fieldConfig: PothosOutputFieldConfig<Types>): GraphQLFieldResolver<unknown, Types["Context"], object>
wrapSubscribe(subscribe: GraphQLFieldResolver<unknown, Types["Context"], object> | undefined, fieldConfig: PothosOutputFieldConfig<Types>): GraphQLFieldResolver<unknown, Types["Context"], object> | undefined