Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pothos/packages/core/mod.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-1689881826/packages/core/mod.ts";

Called for each field on an Object or Interface type

Parameters

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

Returns

PothosOutputFieldConfig<Types> | null

Original or updated fieldConfig