apollographql / apollographql/federation

Federation + Dataloaders/batching

Open
#372 11 comments 10 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
725
Forks
276
Avg merge
1h 47m
Merged PRs (30d)
1

Description

Feature request

Federation looks really nice, but according to the docs there doesn't seem to be a way to incorporate dataloaders into it and there is no mention of federation implementing any kind of batching and how it would do that. Currently we have special batch queries used in schema stitching to efficiently load a long list of items, so how would this be done in federation?

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reviewing the federation documentation and the existing schema-stitching batch-query approach described in the issue; determine the intended dataloader and batching behavior, then define completion criteria for supporting it.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
backend-api-design, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.