aboutsummaryrefslogtreecommitdiffstats
path: root/api/graphql/schema/root.graphql
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2021-05-24 09:43:37 +0200
committerGitHub <noreply@github.com>2021-05-24 09:43:37 +0200
commitcda3037c7cd053d5521f7928ae6c5e2801dc42d7 (patch)
treefe28abae16a509e4b92b3bd063df6a9200660123 /api/graphql/schema/root.graphql
parent13d9632fb888dde9962e122ef06614ca9e9da83d (diff)
parent4043f5da0965bca1ffc717c1ceca265ec8b9ae17 (diff)
downloadgit-bug-cda3037c7cd053d5521f7928ae6c5e2801dc42d7.tar.gz
Merge pull request #665 from GlancingMind/Implement-CommentAndCloseMutation
GraphQL: Implement AddCommentAndCloseBug 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"""