import { PothosZodPlugin } from "https://deno.land/x/pothos@release-1725301526/packages/plugin-zod/index.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>