Grapher v0.6.0 API Reference

Modules

Definition for a GraphQL Document, a document can represent one of two “actions”, it is either a Query or a Mutation

Manages Saving, Updating and Lookup of GraphQL Documents. The Document Store uses an :ets table to store all documents. From the perspective of the Store a Document is a combination of a name and a Grapher.Document.t struct. The name is typically either an atom or a String.t

Functions for runing queries against a Schema

The Grapher Request struct is a collection of all query and mutation documents along with any variables

Conveniences for structuring the response form the server

Defines a GraphQL Schema context

Manages the storage of schema configurations

Defines the expected API for a Setup Module