Skip to main content
Module

x/pothos/packages/core/plugins/plugin.ts>BasePlugin#onTypeConfig

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
method BasePlugin.prototype.onTypeConfig
import { BasePlugin } from "https://deno.land/x/pothos@release-1702326694/packages/core/plugins/plugin.ts";

Called for each type defined with the SchemaBuilder

Parameters

typeConfig: PothosTypeConfig
  • Config object describing the added type

Returns

Original or updated typeConfig