Search Docs
asField(config): (arg, ctx) => void
config
arg
ctx
void
Register as a GraphQL field.
• config: FieldConfig
FieldConfig
The GraphQL field config.
Function
zod superRefine refinement.
• arg: any
any
• ctx: RefinementCtx
RefinementCtx
packages/zod/src/metadata.ts:64