summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/work_items/graphql/work_item_assignees.subscription.graphql
blob: d5b2de8c4c6493b52c7b1e0ff51dc0900d1f7ed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#import "~/graphql_shared/fragments/user.fragment.graphql"

subscription issuableAssignees($issuableId: IssuableID!) {
  issuableAssigneesUpdated(issuableId: $issuableId) {
    ... on WorkItem {
      id
      widgets {
        ... on WorkItemWidgetAssignees {
          type
          allowsMultipleAssignees
          canInviteMembers
          assignees {
            nodes {
              ...User
            }
          }
        }
      }
    }
  }
}