basic working removeCommentTag mutation

This commit is contained in:
Benjamin Goering
2017-02-28 19:59:33 +08:00
parent 4ff6bce8ec
commit 30ee80b12c
5 changed files with 77 additions and 1 deletions
+10
View File
@@ -638,6 +638,13 @@ type AddCommentTagResponse implements Response {
errors: [UserError]
}
# Response to removeCommentTag mutation
type RemoveCommentTagResponse implements Response {
# An array of errors relating to the mutation that occured.
comment: Comment
errors: [UserError]
}
# All mutations for the application are defined on this object.
type RootMutation {
@@ -664,6 +671,9 @@ type RootMutation {
# Add tag to comment.
addCommentTag(id: ID!, tag: String!): AddCommentTagResponse
# Remove tag from comment.
removeCommentTag(id: ID!, tag: String!): RemoveCommentTagResponse
}
################################################################################