import { default } from "https://deno.land/x/pothos@release-1718861157/packages/core/fieldUtils/builder.ts";
Create a String field from a string property on the parent object
Type Parameters
Name extends CompatibleTypes<Types, ParentShape, "String", true>
optional
Nullable extends FieldNullability<"String"> = Types["DefaultFieldNullability"]Parameters
...args: NormalizeArgs<[ExposeNullability<Types, "String", ParentShape, Name, Nullable> & Omit<FieldOptionsFromKind<Types, ParentShape, "String", Nullable, { }, Kind, ParentShape, ResolveReturnShape>, "nullable" | "resolve" | "type">]>
- Options for this field