absinthe_plug v1.1.3 Absinthe.Plug

A plug for using Absinthe

See The Guides for usage details

Summary

Functions

Parses, validates, resolves, and executes the given Graphql Document

Sets up and validates the Absinthe schema

Types

opts :: [schema: atom, adapter: atom, path: binary, context: map, json_codec: atom | {atom, Keyword.t}]

Functions

call(conn, config)

Parses, validates, resolves, and executes the given Graphql Document

init(opts)

Specs

init(opts :: opts) :: map

Sets up and validates the Absinthe schema

load_body_and_params(conn)