Module

x/pothos/packages/plugin-validation/mod.ts>RefineConstraint

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
type alias RefineConstraint
import { type RefineConstraint } from "https://dotland.deno.dev/x/pothos@release-1691259632/packages/plugin-validation/mod.ts";

Type Parameters

optional
T = unknown
definition: Constraint<(value: T) => MaybePromise<boolean>> | Constraint<(value: T) => MaybePromise<boolean>>[]
import RefineConstraint
import { RefineConstraint } from "https://dotland.deno.dev/x/pothos@release-1691259632/packages/plugin-validation/mod.ts";