aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/resolvers/root.go
diff options
context:
space:
mode:
Diffstat (limited to 'graphql/resolvers/root.go')
-rw-r--r--graphql/resolvers/root.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/graphql/resolvers/root.go b/graphql/resolvers/root.go
index 36a9a391..2cf629cd 100644
--- a/graphql/resolvers/root.go
+++ b/graphql/resolvers/root.go
@@ -21,6 +21,12 @@ func (r Backend) Query() graph.QueryResolver {
}
}
+func (r Backend) Mutation() graph.MutationResolver {
+ return &mutationResolver{
+ cache: &r.RootCache,
+ }
+}
+
func (Backend) AddCommentOperation() graph.AddCommentOperationResolver {
return &addCommentOperationResolver{}
}
@@ -48,7 +54,3 @@ func (Backend) SetStatusOperation() graph.SetStatusOperationResolver {
func (Backend) SetTitleOperation() graph.SetTitleOperationResolver {
return &setTitleOperationResolver{}
}
-
-func (r Backend) RepositoryMutation() graph.RepositoryMutationResolver {
- return &repoMutationResolver{}
-}