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

Umbrella Issue for Schema Code #410

Closed
benwilson512 opened this issue Oct 9, 2017 · 1 comment
Closed

Umbrella Issue for Schema Code #410

benwilson512 opened this issue Oct 9, 2017 · 1 comment

Comments

@benwilson512
Copy link
Contributor

This issue will serve as the umbrella issue for problems related to the fact that Absinthe Schemas will allow "invalid" code without throwing a compilation error. Examples include:

object :foo do
  field :name # missing type
  this_function_doesnt_exist() # should explode
end

This happens because within each do block all that Absinthe does is walk through and expand macros. Everything else is discarded. This produces unexpected behaviour, and is slated to be looked at in the planned 1.5 schema rework.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants