aboutsummaryrefslogtreecommitdiffstats
path: root/api/graphql/schema/root.graphql
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-05-05 17:18:31 +0200
committerSascha <GlancingMind@outlook.com>2021-05-20 17:03:19 +0200
commit4043f5da0965bca1ffc717c1ceca265ec8b9ae17 (patch)
treefe28abae16a509e4b92b3bd063df6a9200660123 /api/graphql/schema/root.graphql
parent13d9632fb888dde9962e122ef06614ca9e9da83d (diff)
downloadgit-bug-4043f5da0965bca1ffc717c1ceca265ec8b9ae17.tar.gz
GraphQL: Add AddCommandAndCloseBug mutation
Diffstat (limited to 'api/graphql/schema/root.graphql')
-rw-r--r--api/graphql/schema/root.graphql2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/graphql/schema/root.graphql b/api/graphql/schema/root.graphql
index 884fd98d..4b4e0e2f 100644
--- a/api/graphql/schema/root.graphql
+++ b/api/graphql/schema/root.graphql
@@ -8,6 +8,8 @@ type Mutation {
newBug(input: NewBugInput!): NewBugPayload!
"""Add a new comment to a bug"""
addComment(input: AddCommentInput!): AddCommentPayload!
+ """Add a new comment to a bug and close it"""
+ addCommentAndClose(input: AddCommentAndCloseBugInput!): AddCommentAndCloseBugPayload!
"""Change a comment of a bug"""
editComment(input: EditCommentInput!): EditCommentPayload!
"""Add or remove a set of label on a bug"""