mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-19 21:03:09 +12:00
fix: ensure api modules are properly compiled first
This commit is contained in:
parent
389c780e29
commit
5a1df9f95a
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ defmodule AshGraphql do
|
|||
@moduledoc false
|
||||
alias Absinthe.{Blueprint, Phase, Pipeline}
|
||||
|
||||
Code.ensure_compiled(api)
|
||||
# Ensures the api is compiled, and any errors are raised
|
||||
_ = api.ash_dsl_config()
|
||||
|
||||
def pipeline(pipeline) do
|
||||
Pipeline.insert_before(
|
||||
|
|
Loading…
Reference in a new issue