summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_shared/components/sidebar/queries/get_mr_assignees.query.graphql
blob: 7127940bb05df29acaf1e7a9980ccd0e5b32c7c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#import "~/graphql_shared/fragments/user.fragment.graphql"
#import "~/graphql_shared/fragments/user_availability.fragment.graphql"

query getMrAssignees($fullPath: ID!, $iid: String!) {
  workspace: project(fullPath: $fullPath) {
    id
    issuable: mergeRequest(iid: $iid) {
      id
      assignees {
        nodes {
          ...User
          ...UserAvailability
          mergeRequestInteraction {
            canMerge
          }
        }
      }
      userPermissions {
        canMerge
      }
    }
  }
}