Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pothos/packages/plugin-validation/types.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://deno.land/x/pothos@release-1719071157/packages/plugin-validation/types.ts";
definition: (
error: ZodError,
args: Record<string, unknown>,
context: Types["Context"],
) => Error | string