mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-20 21:33:10 +12:00
986cc4cabe
chore: update to latest Ash for fixes
18 lines
286 B
Elixir
18 lines
286 B
Elixir
defmodule AshHqWeb.Schema do
|
|
use Absinthe.Schema
|
|
|
|
@apis [AshHq.Docs]
|
|
|
|
use AshGraphql, apis: @apis
|
|
|
|
query do
|
|
end
|
|
|
|
def context(ctx) do
|
|
AshGraphql.add_context(ctx, @apis)
|
|
end
|
|
|
|
def plugins() do
|
|
[Absinthe.Middleware.Dataloader | Absinthe.Plugin.defaults()]
|
|
end
|
|
end
|