(bug) hasNextPage return wrong value?


#1

When I do the query like this:

{search(query: "stars:>3000", type: REPOSITORY, first: 100, after:"Y3Vyc29yOjgwMQ==") {
    repositoryCount
        edges {
          cursor
          node {
            ... on Repository {
              name
              stargazers {
                totalCount
              }
            }
          }
        }
        pageInfo {
          hasNextPage
        }
      }
    }

the hasNextPage field return false. Since the totalCount just 8032, There should be much more next page.


#2

:wave: Hi @Windsooon. I’ve opened an issue internally to look into this and will keep you updated as I learn more.


#3

Thank you so much