Scalars
Scalars are the value types that every field in a GraphQL document eventually resolves to. It can be viewed as the primitive data type that stores a single value. There are 5 built-in scalars: int
, float
, string
, Boolean
, and id
- we have also defined custom scalars to help define the data we return.
Boolean
Represents a boolean value that can be either true
or false
.
Float
A signed double-precision floating-point value.
ID
A unique identifier, often used to refetch an object or as a key for caching.
Int
A signed 32-bit integer.
String
A UTF-8 character sequence.
Time
Last updated