API Reference GraphQLDocument v0.2.0

modules

Modules

Builds GraphQL Documents from simple Elixir data structures.

Arguments are specified in a keyword list.

Directives provide a way to describe alternate runtime execution and type validation behavior in a GraphQL document.

Enums can be defined in the Type System side of GraphQL.

A Field describes one discrete piece of information available to request within a selection set.

Fragments are the primary unit of composition in GraphQL.

The GraphQL specification defines a Name as starting with a letter or underscore. It may only contain letters, underscores, and digits.

A Selection is the list of Fields or Fragments to be returned in an object.

A Type is a reference to a TypeDefinition defined by a GraphQL service.

A Value can be any of the following Elixir types

Variables are defined in VariableDefinitions alongside the OperationType at the beginning of a GraphQL document.