Skip to main content
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://deno.land/x/pothos@release-1713397530/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