Skip to content

Latest commit

 

History

History
22 lines (21 loc) · 425 Bytes

File metadata and controls

22 lines (21 loc) · 425 Bytes
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
        }
      }
    }
  }
}