Skip to content

Design system for bulk graphQL data fetching #424

Description

@MoralCode

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?)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions