-
Notifications
You must be signed in to change notification settings - Fork 525
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
extend schema cannot parse maps in arguments #1225
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Elixir 1.14.0 (compiled with Erlang/OTP 25)
1.7.1
n/a
Expected behavior
Extending the schema with the link directive and its arguments should result the following SDL output:
Actual behavior
The map is eventually supplied to
Absinthe.Blueprint.Input.parse/1
but in AST format, therefore we get the following compile-time error:Relevant Schema/Middleware Code
Additional Information
{:name, "@override"}
for the first item.%{name: "@override", as: "@replace"}
from the import argument in the example code results in a successful compilation as expected.The text was updated successfully, but these errors were encountered: