Skip to main content
Module

x/pothos/packages/plugin-zod/createZodSchema.ts>refine

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
function refine
import { refine } from "https://deno.land/x/pothos@release-1721684308/packages/plugin-zod/createZodSchema.ts";

Parameters

originalValidator: zod.ZodTypeAny
options:
| null
| undefined

Returns

zod.ZodTypeAny