📖

GitHub API v4 でページネーションを考慮したクエリの実装

に公開1

Discussion

ShuzoNShuzoN

質問です。 以下のようなネストした場合に、複数のリポジトリがhasNextPageを返した場合はどのような挙動になるのでしょうか?

{
  organization(login: $org:String!) {
    teams(first: 100, userLogins: $user:String!) {
      edges {
        node {
          name
          repositories(first: 100) {
            pageInfo {
              hasNextPage
              endCursor
            }
            nodes {
              name
            }
          }
        }
      }
    }
  }
}