Brikl Logo

BETA

/
Gear Icon

Reference

Introduction

Queries

Mutations

Objects

Enums

Input objects

Interfaces

Scalars

Scalars

Scalars are primitive values, like Int, Float, String, Boolean, or ID.

When calling a GraphQL API, you must specify nested subfields until you return only scalars.

For more information, see Scalars in GraphQL spec.


Boolean

Represents true or false values.


DateTime

An ISO-8601 encoded UTC date string.


Float

Represents signed double-precision fractional values as specified by IEEE 754.


ID

Represents a unique identifier. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as M1ugvHj7C==) or integer (such as 7) input value will be accepted as an ID.


Int

Represents a signed 32-bit numeric non-fractional value. Int can represent values between -(2^31) and 2^31 - 1.


JSONObject

The JSONObject scalar type represents JSON objects as specified by ECMA-404.


String

Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.