BETA
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.
Represents true
or false
values.
An ISO-8601 encoded UTC date string.
Represents signed double-precision fractional values as specified by IEEE 754.
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.
Represents a signed 32-bit numeric non-fractional value. Int can represent values between -(2^31) and 2^31 - 1.
The JSONObject scalar type represents JSON objects as specified by ECMA-404.
Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.