import { PothosValidationPlugin } from "https://deno.land/x/pothos@release-1690733553/packages/plugin-validation/mod.ts";
Type Parameters
Types extends SchemaTypes
Methods
createValidator(): zod.ZodTypeAny
optionsOrConstraint: RefineConstraint | ValidationOptionUnion | undefined,
type: PothosInputFieldType<Types> | null,
fieldName: string,
onInputFieldConfig(fieldConfig: PothosInputFieldConfig<Types>): PothosInputFieldConfig<Types>
wrapResolve(resolver: GraphQLFieldResolver<unknown, Types["Context"], object>, fieldConfig: PothosOutputFieldConfig<Types>): GraphQLFieldResolver<unknown, Types["Context"], object>