aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Gliech <quentingliech@gmail.com>2018-07-22 00:17:22 +0200
committerQuentin Gliech <quentingliech@gmail.com>2018-07-22 00:17:22 +0200
commit3dd41e5da17c41d24fe295819b3717e5ae47794d (patch)
tree8018486f5a30e8372be81bfcbccd35d4ca70157e
parent8f0bb154b0c64b8d31e62267a8eee8363cf93932 (diff)
downloadgit-bug-3dd41e5da17c41d24fe295819b3717e5ae47794d.tar.gz
Add title field to bugs in graphql schema
-rw-r--r--graphql/types.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphql/types.go b/graphql/types.go
index a320ca39..f1161687 100644
--- a/graphql/types.go
+++ b/graphql/types.go
@@ -43,6 +43,9 @@ var bugType = graphql.NewObject(graphql.ObjectConfig{
"status": &graphql.Field{
Type: graphql.String,
},
+ "title": &graphql.Field{
+ Type: graphql.String,
+ },
"comments": &graphql.Field{
Type: graphql.NewList(commentType),
},