import { FieldRef } from "https://deno.land/x/pothos@release-1730496474/packages/core/refs/field.ts";
Constructors
new
FieldRef(kind: Kind, initConfig: (name: string, typeConfig: PothosTypeConfig) => PothosOutputFieldConfig<Types>)Properties
private
initConfig: (name: string, typeConfig: PothosTypeConfig) => PothosOutputFieldConfig<Types>private
onUseCallbacks: Set<(config: PothosOutputFieldConfig<Types>) => void>protected
pendingActions: ((config: PothosOutputFieldConfig<Types>) => PothosOutputFieldConfig<Types> | void)[]$inferType: T
kind: FieldKind
[outputFieldShapeKey]: T
Methods
getConfig(name: string, typeConfig: PothosTypeConfig): PothosOutputFieldConfig<Types>
onFirstUse(cb: (config: PothosOutputFieldConfig<Types>) => void)
updateConfig(cb: (config: PothosOutputFieldConfig<Types>) => PothosOutputFieldConfig<Types> | void)