Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/pothos/packages/core/refs/list.ts>default

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
class default
implements [PothosSchemaTypes.ListRef]<Types, T, P>
extends BaseTypeRef
import { default } from "https://deno.land/x/pothos@release-1702326694/packages/core/refs/list.ts";

Constructors

new
default(listType: TypeParam<Types>, nullable: boolean)

Type Parameters

Types extends SchemaTypes
T
optional
P = T

Properties

$inferType: T
kind: "List"
listType: TypeParam<Types>
nullable: boolean
[outputShapeKey]: T
[parentShapeKey]: P