import { default } from "https://deno.land/x/pothos@release-1718861157/packages/core/fieldUtils/root.ts";
create a new field for the current type
Type Parameters
Args extends InputFieldMap
Type extends TypeParam<Types>
optional
Nullable extends FieldNullability<Type> = Types["DefaultFieldNullability"]Parameters
options: FieldOptionsFromKind<Types, ParentShape, Type, Nullable, Args, Kind, ResolveShape, ResolveReturnShape>
- options for this field