chaoss / chaoss/CollectOSS

Design system for bulk graphQL data fetching

Open
#424 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.