aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/resolvers/root.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-30 01:08:45 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-30 01:08:45 +0200
commit3cb0469a2200dea24aff1f414aa971d5e6fe9815 (patch)
treece74b9f91707ae90f0dc8977af0df59eb6dc2590 /graphql/resolvers/root.go
parent79b3d189186783c01acb194de825976a007dbd5f (diff)
downloadgit-bug-3cb0469a2200dea24aff1f414aa971d5e6fe9815.tar.gz
graphql: implement a first mutation
Diffstat (limited to 'graphql/resolvers/root.go')
-rw-r--r--graphql/resolvers/root.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphql/resolvers/root.go b/graphql/resolvers/root.go
index f8ac67b1..36a9a391 100644
--- a/graphql/resolvers/root.go
+++ b/graphql/resolvers/root.go
@@ -48,3 +48,7 @@ func (Backend) SetStatusOperation() graph.SetStatusOperationResolver {
func (Backend) SetTitleOperation() graph.SetTitleOperationResolver {
return &setTitleOperationResolver{}
}
+
+func (r Backend) RepositoryMutation() graph.RepositoryMutationResolver {
+ return &repoMutationResolver{}
+}