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