Design system for bulk graphQL data fetching
Open
- Dominant language
- Python
- Stars
- 13
- Forks
- 17
- Avg merge
- 6h 59m
- Merged PRs (30d)
- 1
Description
We should have a helper in the github graphql data access (or maybe something more shareable beyond github?) for combining multiple requests (for the same data type) in one graphql query like we do in
https://github.com/chaoss/CollectOSS/blob/96adf3a4d68725db21622673ee6613693c0f5ace/collectoss/tasks/frontend.py#L207-L211
We would probably need to handle:
- pagination (what if data needs multiple requests because theres so much of it?)
- splitting (what if one of the batched pieces of data runs out of pagination before the others?)
- errors (what if one batched item has an error, how do we propagate that?)
Contributor guide
Assessment
This issue has not been assessed yet.