Skip to main content
Module

x/pothos/packages/core/plugins/index.ts>BasePlugin#onOutputFieldConfig

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

Called for each field on an Object or Interface type

Parameters

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

Returns

Original or updated fieldConfig