Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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-1688425816/packages/core/plugins/plugin.ts";

Called for each type defined with the SchemaBuilder

Parameters

typeConfig: PothosTypeConfig
  • Config object describing the added type

Returns

PothosTypeConfig

Original or updated typeConfig