mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-21 05:43:12 +12:00
18 lines
280 B
Elixir
18 lines
280 B
Elixir
defmodule AshHqWeb.Schema do
|
|
@moduledoc "The absinthe graphql schema"
|
|
use Absinthe.Schema
|
|
|
|
@apis [AshHq.Docs]
|
|
|
|
use AshGraphql, apis: @apis
|
|
|
|
query do
|
|
end
|
|
|
|
mutation do
|
|
end
|
|
|
|
def plugins do
|
|
[Absinthe.Middleware.Dataloader | Absinthe.Plugin.defaults()]
|
|
end
|
|
end
|