[BUG] GraphQL API: only the 10 first releases are returned instead of the 100 first #36234
-
The GitHub GraphQL API seems to bug: only the 10 first releases are returned instead of the 100 first. I tried on several projects and the behavior is always the same. This was working well for at least 2 years. I checked:
There is nothing about that, so I think it's a bug. I tried the GitHub GraphQL API Explorer Queryquery ($owner: String!, $name: String!, $releasesCursor: String){
repository(owner: $owner, name: $name) {
releases(first: 100, after: $releasesCursor) {
nodes {
tagName
# releaseAssets(first: 50) {
# nodes {
# downloadUrl
# }
# }
}
pageInfo {
endCursor
hasNextPage
}
}
}
} Variables{
"owner": "golangci",
"name": "golangci-lint",
"releasesCursor": null
} Results{
"data": {
"repository": {
"releases": {
"nodes": [
{
"tagName": "v1.50.0"
},
{
"tagName": "v1.49.0"
},
{
"tagName": "v1.48.0"
},
{
"tagName": "v1.47.3"
},
{
"tagName": "v1.47.2"
},
{
"tagName": "v1.47.1"
},
{
"tagName": "v1.47.0"
},
{
"tagName": "v1.46.2"
},
{
"tagName": "v1.46.1"
},
{
"tagName": "v1.46.0"
}
],
"pageInfo": {
"endCursor": "MTA",
"hasNextPage": false
}
}
}
}
} |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The answer of the GitHub support:
|
Beta Was this translation helpful? Give feedback.
-
Hey there @ldez and thank you for reporting this! I'm glad you found our community 🙂 |
Beta Was this translation helpful? Give feedback.
-
The bug has been fixed by the GitHub Team. The answer of the GitHub support:
|
Beta Was this translation helpful? Give feedback.
The bug has been fixed by the GitHub Team.
The answer of the GitHub support: