import { FieldBuilder } from "https://deno.land/x/pothos@release-1726524975/packages/core/fieldUtils/builder.ts";
Create a String list field from a string[] property on the parent object
Type Parameters
Name extends CompatibleTypes<Types, ParentShape, ["String"], { list: true; items: true; }>
optional
Nullable extends FieldNullability<["String"]> = Types["DefaultFieldNullability"]Parameters
name: Name
- the name of the property on the source object (does not need to match the field name).
...args: NormalizeArgs<[ExposeNullability<Types, ["String"], ParentShape, Name, Nullable> & Omit<FieldOptionsFromKind<Types, ParentShape, ["String"], Nullable, { }, Kind, ParentShape, ResolveReturnShape>, "nullable" | "type" | InferredFieldOptionKeys>]>
- Options for this field