We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I just tried this to detect new release of some repository but it didn't work. I noticed that the query
var query struct { Repository struct { ID githubql.ID Name githubql.String Description githubql.String URL githubql.URI Releases struct { Edges []struct { Node struct { ID githubql.ID Name githubql.String Description githubql.String URL githubql.URI PublishedAt githubql.DateTime } } } `graphql:"releases(last: 1)"` } `graphql:"repository(owner: $owner, name: $name)"` }
always gets the oldest release.
If I changed the query to graphql:"releases(first: 1)" it will get the newest release and everything goes well.
graphql:"releases(first: 1)"
Maybe github inverted the sort direction of graphql api recently?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I just tried this to detect new release of some repository but it didn't work. I noticed that the query
always gets the oldest release.
If I changed the query to
graphql:"releases(first: 1)"
it will get the newest release and everything goes well.Maybe github inverted the sort direction of graphql api recently?
The text was updated successfully, but these errors were encountered: