Grapher v0.9.1 API Reference
Modules
A Query Execution Context, this module handles managing any shared data that should be included across multiple Grapher queries
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 GraphQL Formatter module is responsible for handling translation from GraphQL’s camelCase to Elixir snake_case and vice versa
The Grapher Request struct is a collection of all document strings 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
A place for storing any data you may want to be available to all calls from a given process or for subsequent calls from the same process