summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/work_items/graphql/work_item_assignees.subscription.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/work_items/graphql/work_item_assignees.subscription.graphql')
-rw-r--r--app/assets/javascripts/work_items/graphql/work_item_assignees.subscription.graphql21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/assets/javascripts/work_items/graphql/work_item_assignees.subscription.graphql b/app/assets/javascripts/work_items/graphql/work_item_assignees.subscription.graphql
new file mode 100644
index 00000000000..d5b2de8c4c6
--- /dev/null
+++ b/app/assets/javascripts/work_items/graphql/work_item_assignees.subscription.graphql
@@ -0,0 +1,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
+ }
+ }
+ }
+ }
+ }
+ }
+}