Skip to content

Multiple query fields are processed sequentially? #520

Answered by rafalp
sanchit-gupta-cn asked this question in Q&A
Discussion options

You must be logged in to vote

GraphQL spec is written with one eye towards the graphql.js which is reference implementation that supports asynchronous query execution.

Python counterpart provides two query execution strategies: async and sync. This is because async is opt-in in Python projects. wsgi.GraphQ (as well as ariadne.contrib.django.views.GraphQLView) are using synchronous strategy because neither WSGI or Django are fully async stacks.

Parallel execution holds true for ariadne.asgi.GraphQL.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sanchit-gupta-cn
Comment options

Answer selected by sanchit-gupta-cn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants