Skip to main content
Module

x/pothos/packages/core/fieldUtils/root.ts>RootFieldBuilder#stringList

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
method RootFieldBuilder.prototype.stringList
import { RootFieldBuilder } from "https://deno.land/x/pothos@release-1720765432/packages/core/fieldUtils/root.ts";

Create a String list field

Type Parameters

ResolveShape
ResolveReturnShape
optional
Nullable extends FieldNullability<["String"]> = Types["DefaultFieldNullability"]
optional
Args extends InputFieldMap = { }

Parameters

...args: NormalizeArgs<[Omit<FieldOptionsFromKind<Types, ParentShape, ["String"], Nullable, Args, Kind, ResolveShape, ResolveReturnShape>, "type">]>
  • Options for this field