Skip to main content
Module

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

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

Called for each Enum value defined in your schema

Parameters

valueConfig: PothosEnumValueConfig<Types>
  • Config object describing the enum value

Returns

PothosEnumValueConfig<Types> | null

Original or updated valueConfig