import { FieldBuilder } from "https://deno.land/x/pothos@release-1726524975/packages/core/fieldUtils/builder.ts";
Create a Float field from a numeric property on the parent object
Type Parameters
Name extends CompatibleTypes<Types, ParentShape, "Float", true>
optional
Nullable extends FieldNullability<"Float"> = Types["DefaultFieldNullability"]Parameters
name: Name
- the name of the property on the source object (does not need to match the field name).
...args: NormalizeArgs<[ExposeNullability<Types, "Float", ParentShape, Name, Nullable> & Omit<FieldOptionsFromKind<Types, ParentShape, "Float", Nullable, { }, Kind, ParentShape, ResolveReturnShape>, "nullable" | "type" | InferredFieldOptionKeys>]>
- Options for this field