-
Notifications
You must be signed in to change notification settings - Fork 520
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
Unable to name Absinthe object :quote
when on Elixir 1.16
#1313
Labels
Comments
This is a corner case bug in elixir itself, while it might be possible to hack around it, I'd suggest using another name for now (eg anything but the exact atom |
As a follow up, the issue has been fixed in elixir main branch. |
Closed as this seems to be a bug in Elixir. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Expected behavior
We should be able to define Absinthe objects with the name
:quote
.Actual behavior
When you define an object like the following:
You'll get a compiler error like this on Elixir v1.16. This error did not occur on Elixir v1.15. I believe there was some change in Elixir v1.16 that has exposed this issue, but I think ultimately fix resides within Absinthe.
Renaming the object to something like
:quote2
addresses this issue.Relevant Schema/Middleware Code
Simples schema to reproduce the issue:
Please see the attached sample application.
hello.zip
The text was updated successfully, but these errors were encountered: