aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/resolvers/root.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-10-07 17:41:47 +0200
committerMichael Muré <batolettre@gmail.com>2018-10-07 17:41:47 +0200
commit03202fed493539c8d1fdcad7254687f951d0ca4a (patch)
tree17943d170d05d7993469cb469dd175addcb1928c /graphql/resolvers/root.go
parent64133ee5ba4b03e2f7f2f2161b1d551a97bd0d80 (diff)
downloadgit-bug-03202fed493539c8d1fdcad7254687f951d0ca4a.tar.gz
graphql: add missing operation
Diffstat (limited to 'graphql/resolvers/root.go')
-rw-r--r--graphql/resolvers/root.go12
1 files changed, 8 insertions, 4 deletions
diff --git a/graphql/resolvers/root.go b/graphql/resolvers/root.go
index b1ce0356..9b3a730b 100644
--- a/graphql/resolvers/root.go
+++ b/graphql/resolvers/root.go
@@ -28,10 +28,6 @@ func (r RootResolver) Mutation() graph.MutationResolver {
}
}
-func (RootResolver) AddCommentOperation() graph.AddCommentOperationResolver {
- return &addCommentOperationResolver{}
-}
-
func (RootResolver) Bug() graph.BugResolver {
return &bugResolver{}
}
@@ -64,6 +60,14 @@ func (RootResolver) CreateOperation() graph.CreateOperationResolver {
return &createOperationResolver{}
}
+func (RootResolver) AddCommentOperation() graph.AddCommentOperationResolver {
+ return &addCommentOperationResolver{}
+}
+
+func (r RootResolver) EditCommentOperation() graph.EditCommentOperationResolver {
+ return &editCommentOperationResolver{}
+}
+
func (RootResolver) LabelChangeOperation() graph.LabelChangeOperationResolver {
return &labelChangeOperation{}
}