absinthe_plug v1.2.3 Absinthe.Plug.GraphiQL

Enables GraphiQL

Usage

if Absinthe.Plug.GraphiQL.serve? do
  plug Absinthe.Plug.GraphiQL
end

Summary

Functions

Callback implementation for Plug.call/2

Sets up and validates the Absinthe schema

Types

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

Functions

call(conn, config)

Callback implementation for Plug.call/2.

init(opts)
init(opts :: opts) :: map

Sets up and validates the Absinthe schema