Skip to content

Graphql PullRequest Timeline review threads #24850

Discussion options

You must be logged in to vote

well I figured it out myself while working on commits I found out that I could use the node and pass an id and since PullRequestView is extending node then its pretty straight and easy. 

this is what I used:

{
  node(id: "MyPullRequestReviewId") {
    ... on PullRequestReview {
      body
      comments (first:100){
        nodes {
          body
        }
      }
    }
  }
}

and what’s even awesome: is that it returns every single comment ;) 

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants