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