fix: ensure api modules are properly compiled first

This commit is contained in:
Zach Daniel 2021-05-05 14:50:03 -04:00
parent 389c780e29
commit 5a1df9f95a

View file

@ -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(