summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_shared/components/sidebar/queries/get_mr_participants.query.graphql
blob: 2781ac71f31a9f81d4ea261d364e4072f8350a5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#import "~/graphql_shared/fragments/user.fragment.graphql"
#import "~/graphql_shared/fragments/user_availability.fragment.graphql"

query getMrParticipants($fullPath: ID!, $iid: String!, $getStatus: Boolean = false) {
  workspace: project(fullPath: $fullPath) {
    id
    issuable: mergeRequest(iid: $iid) {
      id
      participants {
        nodes {
          ...User
          ...UserAvailability @include(if: $getStatus)
        }
      }
    }
  }
}