aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/schema/repository.graphql
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-12 21:03:20 +0100
committerMichael Muré <batolettre@gmail.com>2020-02-12 21:03:20 +0100
commit929480fa0a7fa40ba14850aed17158a20cdf6391 (patch)
tree7bc0579469f936a9378be0b4c95fc149b1df5efe /graphql/schema/repository.graphql
parentb70b4ba4b17d02d9744bd72494549f5cf7d980f8 (diff)
downloadgit-bug-929480fa0a7fa40ba14850aed17158a20cdf6391.tar.gz
graphql: expose the name of Repository
Diffstat (limited to 'graphql/schema/repository.graphql')
-rw-r--r--graphql/schema/repository.graphql5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphql/schema/repository.graphql b/graphql/schema/repository.graphql
index 20a3cf0b..2b98fe37 100644
--- a/graphql/schema/repository.graphql
+++ b/graphql/schema/repository.graphql
@@ -1,5 +1,8 @@
type Repository {
+ """The name of the repository"""
+ name: String
+
"""All the bugs"""
allBugs(
"""Returns the elements in the list that come after the specified cursor."""
@@ -10,7 +13,7 @@ type Repository {
first: Int
"""Returns the last _n_ elements from the list."""
last: Int
- """A query to select and order bugs"""
+ """A query to select and order bugs."""
query: String
): BugConnection!