absinthe_plug v1.0.0 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

do_call(conn, input, schema_mod, opts, map)
init(opts)

Specs

init(opts :: opts) :: map

Sets up and validates the Absinthe schema