hasura / hasura/graphql-engine

Multiple Queries in a Request Async

Open
#9,681 0 comments 1 reaction 0 assignees View on GitHub
k/enhancement
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Problem/Solution

Looking for a way to run multiple queries in a request, but have them processed asynchronously.

According to the docs, this can only happen sequentially making GraphQL plugins like BatchHttpLink inefficient: https://hasura.io/docs/latest/queries/postgres/multiple-queries/

Contributor guide

Open the contributing guide

Research direction

No implementation files or tests are identified. Start with the linked multiple-queries documentation and the GraphQL request path, then determine how multiple queries are currently processed and where asynchronous execution could be introduced. Done means multiple queries in one request can execute asynchronously rather than only sequentially, supporting clients such as BatchHttpLink.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.