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