absinthe_relay_oxo v1.2.1 Absinthe.Relay
Relay support for Absinthe.
- Global Identification: See
Absinthe.Relay.Node - Connection Model: See
Absinthe.Relay.Connection - Mutations: See
Absinthe.Relay.Mutation
Examples
Schemas should use Absinthe.Relay.Schema, eg:
defmodule Schema do
use Absinthe.Schema
use Absinthe.Relay.Schema
# ...
end
For a type module, use Absinthe.Relay.Schema.Notation
defmodule Schema do
use Absinthe.Schema.Notation
use Absinthe.Relay.Schema.Notation
# ...
end
See Absinthe.Relay.Node, Absinthe.Relay.Connection, and
Absinthe.Relay.Mutation for specific macro information.