id -package:invertible -package:hledger-web -package:Cabal-syntax package:graphql
The ID scalar type represents a unique identifier, 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
"4") or integer (such as 4) input value will be
accepted as an ID.
GraphQL servers define what directives they support and where they
support them. For each usage of a directive, the directive must be
used in a location that the server has declared support for.
Arguments can be required. An argument is required if the argument
type is non‐null and does not have a default value. Otherwise, the
argument is optional.
Input object fields may be required. Much like a field may have
required arguments, an input object may have required fields. An input
field is required if it has a non‐null type and does not have a
default value. Otherwise, the input object field is optional.
Definitions used by the validation rules and the validator itself.