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

x/pothos/packages/plugin-directives/index.ts>PothosDirectivesPlugin

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

Type Parameters

Types extends SchemaTypes

Methods

afterBuild(schema: GraphQLSchema)
mergeDirectives(left: DirectiveList | Record<string, { }>, right: DirectiveList | Record<string, { }>)
normalizeDirectives(directives: DirectiveList | Record<string, { }>)
onEnumValueConfig(valueConfig: PothosEnumValueConfig<Types>)
onInputFieldConfig(fieldConfig: PothosInputFieldConfig<Types>)
onOutputFieldConfig(fieldConfig: PothosOutputFieldConfig<Types>)
onTypeConfig(typeConfig: PothosTypeConfig)