Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Pagination 구현: GitHub GraphQL API 에 요청 및 응답을 파싱할 때 pagination 이용 #181

@danbi2990

Description

@danbi2990

Background: https://github.com/aicers/github-dashboard-server/pull/175/files#r2151563763

Problem:
The following query is limited to fetching only the first 10 assignees:

assignees(first: 10) {
  nodes {
    login
  }
}

If an issue has more than 10 assignees (e.g. 11), the remaining ones are not fetched.
This limitation affects all GitHub GraphQL queries that use fixed pagination values. The solution should be generalized to handle pagination across all such cases.

Sub-issues

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