Module

x/pothos/packages/plugin-zod/mod.ts>ValidationErrorFn

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Latest
type alias ValidationErrorFn
import { type ValidationErrorFn } from "https://dotland.deno.dev/x/pothos@release-1726524975/packages/plugin-zod/mod.ts";
definition: (
error: ZodError,
args: Record<string, unknown>,
context: Types["Context"],
) => Error | string