Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure on elixir >1.12 otp 24 #1154

Closed
kdawgwilk opened this issue Feb 16, 2022 · 0 comments · Fixed by #1155
Closed

Test failure on elixir >1.12 otp 24 #1154

kdawgwilk opened this issue Feb 16, 2022 · 0 comments · Fixed by #1155

Comments

@kdawgwilk
Copy link
Contributor

2) test unknown imported modules returns error (Absinthe.Schema.Notation.ImportTest)
     test/absinthe/schema/notation/import_test.exs:255
     Expected exception Absinthe.Schema.Error but got ArgumentError (could not load module Test.Unknown due to reason :nofile)
     stacktrace:
       (elixir 1.12.2) lib/code.ex:1623: Code.ensure_compiled!/1
       (absinthe 1.7.0) lib/absinthe/phase/schema/type_imports.ex:70: Absinthe.Phase.Schema.TypeImports.ensure_compiled/1
       (absinthe 1.7.0) lib/absinthe/phase/schema/type_imports.ex:36: Absinthe.Phase.Schema.TypeImports.do_imports/3
       (absinthe 1.7.0) lib/absinthe/phase/schema/type_imports.ex:21: Absinthe.Phase.Schema.TypeImports.handle_imports/1
       (absinthe 1.7.0) lib/absinthe/blueprint/transform.ex:16: anonymous fn/3 in Absinthe.Blueprint.Transform.prewalk/2
       (absinthe 1.7.0) lib/absinthe/blueprint/transform.ex:109: Absinthe.Blueprint.Transform.walk/4
       (elixir 1.12.2) lib/enum.ex:1704: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
       (absinthe 1.7.0) lib/absinthe/blueprint/transform.ex:139: anonymous fn/4 in Absinthe.Blueprint.Transform.walk_children/5
       (elixir 1.12.2) lib/enum.ex:2385: Enum."-reduce/3-lists^foldl/2-0-"/3
       (absinthe 1.7.0) lib/absinthe/blueprint/transform.ex:114: Absinthe.Blueprint.Transform.walk/4
       (absinthe 1.7.0) lib/absinthe/blueprint/transform.ex:15: Absinthe.Blueprint.Transform.prewalk/2
       (absinthe 1.7.0) lib/absinthe/phase/schema/type_imports.ex:10: Absinthe.Phase.Schema.TypeImports.run/2
       (absinthe 1.7.0) lib/absinthe/pipeline.ex:384: Absinthe.Pipeline.run_phase/3
       (absinthe 1.7.0) lib/absinthe/schema.ex:360: Absinthe.Schema.__after_compile__/2
       (elixir 1.12.2) src/elixir_module.erl:369: anonymous fn/5 in :elixir_module.expand_callback/6
       (elixir 1.12.2) src/elixir_module.erl:368: :elixir_module.expand_callback/6
       (stdlib 3.17) lists.erl:1267: :lists.foldl/3
       (elixir 1.12.2) src/elixir_module.erl:150: :elixir_module.compile/5
       (stdlib 3.17) erl_eval.erl:685: :erl_eval.do_apply/6
       (elixir 1.12.2) src/elixir.erl:280: :elixir.recur_eval/3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant