Current section

Files

Jump to
absinthe_relay lib absinthe relay schema notation.ex
Raw

lib/absinthe/relay/schema/notation.ex

defmodule Absinthe.Relay.Schema.Notation do
@moduledoc """
Used to extend a module where Absinthe types are defined with
Relay-specific macros and types.
See `Absinthe.Relay`.
"""
defmacro __using__(_opts) do
quote do
import Absinthe.Relay.Mutation.Notation, only: :macros
import Absinthe.Relay.Node.Notation, only: :macros
import Absinthe.Relay.Node.Helpers
import Absinthe.Relay.Connection.Notation, only: :macros
end
end
end