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