GraphQl API PR approver list

Hi folks,

can anyone point me to the right node on the GraphQL API on were to get who approved a PR?

I couldn’t find anything so far on GitHub GraphQL API - GitHub Docs (or google :stuck_out_tongue: )

thanks

I’ve found it!

you can find it via the PullRequestReview object and the state field

reviews(first:100){
          nodes{
            author{
              login
            }
            body
            state
          }
        }

//psuedo GO code
if review.State == "APPROVED" {
	pr.Approvers = append(pr.Approvers, review.Author.Login)
}

thanks