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

Fix bug in Schema.__absinthe_types__(:all) for Persistent Term #1161

Merged

Conversation

maartenvanvliet
Copy link
Contributor

Small bug fix, the Schema.__absinthe_types__(:all) list contained references instead of names in the persistent term provider. It did not affect anything afaict but it triggered an error when the test/absinthe/type/object_test.exs used the persistent term schema provider.

@@ -5,6 +5,7 @@ defmodule Absinthe.Type.ObjectTest do

defmodule Schema do
use Absinthe.Schema
use Absinthe.Fixture
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maartenvanvliet Did this solve a warning or something?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It causes a test failure when the tests are run with PERSISTENT_TERM=true

@benwilson512
Copy link
Contributor

Thanks!

@benwilson512 benwilson512 merged commit fa20603 into absinthe-graphql:master Feb 22, 2022
@maartenvanvliet maartenvanvliet deleted the persistent_term_type_list branch February 22, 2022 14:00
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 this pull request may close these issues.

None yet

2 participants