Stars and Watchers always have same value
payne911 opened this issue · 4 comments
As far as I'm aware, that's a bug in the GitHub API itself. All we can do is wait.
I've created this thread on the GitHub Support Forum: https://github.community/t/bug-watchers-count-is-the-duplicate-of-stargazers-count/140865
A member of the staff said it's an "intentional error" left in there for backward compatibility. Apparently, the actual number for watchers
can be obtained from an additional API call.
Considering the low value of the number, and how restricted this project is already due to API calls, I'm thinking about simply removing that column.
The column has been removed. If a solution which doesn't require an extra API call ends up showing up, I'll reopen and adjust.
Reopening because I think using GraphQL would actually solve this problem. I had misunderstood a staff's answer thinking it would result in the same amount of API calls being counted in the backend, but I just found this documentation page which says otherwise.
Closed again because I don't intend on migrating to GraphQL any time soon:
- It requires authenticated requests.
- Pagination is hard to deal with.
- I think the "compare two commits" info might be hard to obtain.