aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/resolvers/root.go
diff options
context:
space:
mode:
authorludovicm67 <ludovicmuller1@gmail.com>2019-04-10 21:50:03 +0200
committerQuentin Gliech <quentingliech@gmail.com>2019-05-22 20:22:35 +0200
commit9adf6de4b5f3df44657d336ed49f9b992d50f458 (patch)
tree87355784512d4b067cd3d6c2418f40ad39c8e3b5 /graphql/resolvers/root.go
parentd156f41d997b4d33d3aa690796f09bbf66889bbe (diff)
downloadgit-bug-9adf6de4b5f3df44657d336ed49f9b992d50f458.tar.gz
graphql: expose label color
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{}
}