Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pothos/packages/core/mod.ts>ShapeWithNullability

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Latest
type alias ShapeWithNullability
import { type ShapeWithNullability } from "https://deno.land/x/pothos@release-1719071157/packages/core/mod.ts";

Type Parameters

Types extends SchemaTypes
Shape
Nullable extends boolean
definition: boolean extends Nullable ? Types["DefaultFieldNullability"] extends true ? Shape | null | undefined : Shape : Nullable extends true ? Shape | null | undefined : Shape