Forks totalCount is less than real fork count


#1

This request to get fork count

query {
  repositoryOwner(login: "symfony") {
    repository(name: "symfony") {
      forks(first: 15) {
            totalCount
      }
    }   
  }
}

returns 4984

however, if you visit the [repository page symfony/symfony] (https://github.com/symfony/symfony), you can see there “Forks: 5082

Why it is different? How to get with GarphQL what everybody sees on GitHub?


#2

I’ve logged an internal issue to look into this. Thanks for the report!