aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/resolvers/root.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-05-22 20:56:37 +0200
committerGitHub <noreply@github.com>2019-05-22 20:56:37 +0200
commit6e20bf0e73862854aea0cd759a880a6b5f473880 (patch)
tree54c7b0f20fa8588f79f7bd9c121630d502b5e1be /graphql/resolvers/root.go
parent485ca5900486b7fc3ea71cbcbb39b87272ae09fd (diff)
parentaa6247ce870075922a1309718e8fafee321ef51d (diff)
downloadgit-bug-6e20bf0e73862854aea0cd759a880a6b5f473880.tar.gz
Merge pull request #113 from ludovicm67/patch-colors
bug: add label color directly in the core
Diffstat (limited to 'graphql/resolvers/root.go')
-rw-r--r--graphql/resolvers/root.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/graphql/resolvers/root.go b/graphql/resolvers/root.go
index 7414a097..f6a4a57b 100644
--- a/graphql/resolvers/root.go
+++ b/graphql/resolvers/root.go
@@ -34,6 +34,14 @@ func (RootResolver) Bug() graph.BugResolver {
return &bugResolver{}
}
+func (RootResolver) Color() graph.ColorResolver {
+ return &colorResolver{}
+}
+
+func (RootResolver) Label() graph.LabelResolver {
+ return &labelResolver{}
+}
+
func (r RootResolver) Identity() graph.IdentityResolver {
return &identityResolver{}
}