Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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
Re-export
import { type RefineConstraint } from "https://deno.land/x/pothos@release-1708848346/packages/plugin-validation/mod.ts";

Type Parameters

optional
T = unknown
definition: Constraint<(value: T) => MaybePromise<boolean>> | Constraint<(value: T) => MaybePromise<boolean>>[]