Module

x/pothos/packages/plugin-validation/types.ts>Constraint

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