Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/pothos/packages/plugin-zod/index.ts>Constraint

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Latest
type alias Constraint
import { type Constraint } from "https://deno.land/x/pothos@release-1727726265/packages/plugin-zod/index.ts";
definition: T | (T extends object ? [T, { message?: string; path?: string[]; }] : [T, { message?: string; }])