Skip to main content
Module

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

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

Parameters

optionsOrConstraint:
| null
| undefined
optional
required = [UNSUPPORTED]

Returns

zod.ZodTypeAny