aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/schema/bug.graphql
diff options
context:
space:
mode:
authorQuentin Gliech <quentingliech@gmail.com>2019-05-22 21:46:43 +0200
committerQuentin Gliech <quentingliech@gmail.com>2019-05-22 21:46:43 +0200
commit1c2ee10ce7a32df892604846279c7e199ce0ccea (patch)
treee5534df088b309eeb2cb9096f0a4c87a46abd292 /graphql/schema/bug.graphql
parentaa6247ce870075922a1309718e8fafee321ef51d (diff)
downloadgit-bug-1c2ee10ce7a32df892604846279c7e199ce0ccea.tar.gz
graphql: Implement `Authored` whenever possible
webui: Use a fragment for Authored nodes
Diffstat (limited to 'graphql/schema/bug.graphql')
-rw-r--r--graphql/schema/bug.graphql3
1 files changed, 1 insertions, 2 deletions
diff --git a/graphql/schema/bug.graphql b/graphql/schema/bug.graphql
index 8e058ed7..03aa95b8 100644
--- a/graphql/schema/bug.graphql
+++ b/graphql/schema/bug.graphql
@@ -27,7 +27,7 @@ enum Status {
CLOSED
}
-type Bug {
+type Bug implements Authored {
"""The identifier for this bug"""
id: String!
"""The human version (truncated) identifier for this bug"""
@@ -116,4 +116,3 @@ type BugEdge {
"""The item at the end of the edge."""
node: Bug!
}
-