Welcome to mirror list, hosted at ThFree Co, Russian Federation.

get_merge_request_reviewers.query.graphql « queries « sidebar « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f087ca6c9828ef4b0181cc2ba8cf18e6f332fa21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#import "~/graphql_shared/fragments/user.fragment.graphql"
#import "~/graphql_shared/fragments/user_availability.fragment.graphql"

query mergeRequestReviewers($fullPath: ID!, $iid: String!) {
  workspace: project(fullPath: $fullPath) {
    id
    issuable: mergeRequest(iid: $iid) {
      id
      reviewers {
        nodes {
          ...User
          ...UserAvailability
          mergeRequestInteraction {
            canMerge
            canUpdate
            approved
            reviewed
          }
        }
      }
      userPermissions {
        adminMergeRequest
      }
    }
  }
}