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.go12
1 files changed, 8 insertions, 4 deletions
diff --git a/graphql/resolvers/root.go b/graphql/resolvers/root.go
index f6a4a57b..8873b723 100644
--- a/graphql/resolvers/root.go
+++ b/graphql/resolvers/root.go
@@ -30,6 +30,10 @@ func (r RootResolver) Mutation() graph.MutationResolver {
}
}
+func (RootResolver) Repository() graph.RepositoryResolver {
+ return &repoResolver{}
+}
+
func (RootResolver) Bug() graph.BugResolver {
return &bugResolver{}
}
@@ -86,10 +90,6 @@ func (RootResolver) LabelChangeOperation() graph.LabelChangeOperationResolver {
return &labelChangeOperation{}
}
-func (RootResolver) Repository() graph.RepositoryResolver {
- return &repoResolver{}
-}
-
func (RootResolver) SetStatusOperation() graph.SetStatusOperationResolver {
return &setStatusOperationResolver{}
}
@@ -97,3 +97,7 @@ func (RootResolver) SetStatusOperation() graph.SetStatusOperationResolver {
func (RootResolver) SetTitleOperation() graph.SetTitleOperationResolver {
return &setTitleOperationResolver{}
}
+
+func (r RootResolver) LabelChangeResult() graph.LabelChangeResultResolver {
+ return &labelChangeResultResolver{}
+}