chore: put playground above base

This commit is contained in:
Zach Daniel 2024-07-15 20:46:03 -04:00
parent 1f45a1481e
commit 88735868cc

View file

@ -48,14 +48,14 @@ defmodule Mix.Tasks.AshGraphql.Install do
"""
pipe_through [:graphql]
forward "/",
Absinthe.Plug,
schema: Module.concat(["#{inspect(schema_name)}"])
forward "/playground",
Absinthe.Plug.GraphiQL,
schema: Module.concat(["#{inspect(schema_name)}"]),
interface: :playground
forward "/",
Absinthe.Plug,
schema: Module.concat(["#{inspect(schema_name)}"])
""",
router: router
)