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#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-1679079302/packages/core/mod.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