Node limit
To pass schema validation, all GraphQL API calls must meet these standards:
- Clients must supply a
firstorlastargument on any connection. - Values of
firstandlastmust be within 1-100. - Individual calls cannot request more than 500,000 total nodes.
Calculating nodes in a call
These two examples show how to calculate the total nodes in a call.
-
Simple query:
query { viewer { repositories(first: 50) { edges { repository:node { name issues(first: 10) { totalCount edges { node { title bodyHTML } } } } } } } }Calculation: