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

Support operationName selecting an operation definition to use #2

Closed
3 tasks
bruce opened this issue Dec 30, 2015 · 0 comments
Closed
3 tasks

Support operationName selecting an operation definition to use #2

bruce opened this issue Dec 30, 2015 · 0 comments

Comments

@bruce
Copy link
Contributor

bruce commented Dec 30, 2015

  • Use Absinthe.Language.Document.get_operation/2 to get the right Absinthe.Language.OperationDefinition.t
  • Verify the HTTP verb is appropriate for the .operation (ie, non-:query requires POST)
  • Pass the operation name to Absinthe.run/3 (as the :operation_name option)
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

1 participant