Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pothos/packages/core/fieldUtils/root.ts>default#float

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
method default.prototype.float
import { default } from "https://deno.land/x/pothos@release-1713397530/packages/core/fieldUtils/root.ts";

Create a Float field

Type Parameters

Args extends InputFieldMap
Nullable extends FieldNullability<"Float">
ResolveShape
ResolveReturnShape

Parameters

...args: NormalizeArgs<[Omit<FieldOptionsFromKind<Types, ParentShape, "Float", Nullable, Args, Kind, ResolveShape, ResolveReturnShape>, "type">]>
  • Options for this field