Module

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

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

Called for each argument or field on an Input object defined in your schema

Parameters

fieldConfig: PothosInputFieldConfig<Types>
  • Config object describing the added field

Returns

Original or updated fieldConfig