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

x/pothos/packages/core/index.ts>MergedPlugins

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

Constructors

new
MergedPlugins(buildCache: BuildCache<Types>, plugins: BasePlugin<Types>[])

Type Parameters

Types extends SchemaTypes

Properties

plugins

Methods

afterBuild(schema: GraphQLSchema)
onEnumValueConfig(valueConfig: PothosEnumValueConfig<Types>)
onInputFieldConfig(fieldConfig: PothosInputFieldConfig<Types>)
onOutputFieldConfig(fieldConfig: PothosOutputFieldConfig<Types>)
onTypeConfig(typeConfig: PothosTypeConfig)
wrapIsTypeOf(isTypeOf: GraphQLIsTypeOfFn<unknown, Types["Context"]> | undefined, typeConfig: PothosObjectTypeConfig)
wrapResolve(resolve: GraphQLFieldResolver<unknown, Types["Context"], object>, fieldConfig: PothosOutputFieldConfig<Types>)
wrapResolveType(resolveType: GraphQLTypeResolver<unknown, Types["Context"]>, typeConfig: PothosInterfaceTypeConfig | PothosUnionTypeConfig)
wrapSubscribe(subscribe: GraphQLFieldResolver<unknown, Types["Context"], object> | undefined, fieldConfig: PothosOutputFieldConfig<Types>)