| description | Fetch the first ten open pull requests for a GitHub repository, sorted by when they were opened. |
|---|
query GitHubOpenPullRequestsQuery {
gitHub {
repository(name: "graphql-js", owner: "graphql") {
pullRequests(
orderBy: {direction: DESC, field: CREATED_AT}
first: 10
states: OPEN
) {
nodes {
title
}
}
}
}
}