aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/schema/root.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'graphql/schema/root.graphql')
-rw-r--r--graphql/schema/root.graphql8
1 files changed, 2 insertions, 6 deletions
diff --git a/graphql/schema/root.graphql b/graphql/schema/root.graphql
index 2a12cc37..317cf56a 100644
--- a/graphql/schema/root.graphql
+++ b/graphql/schema/root.graphql
@@ -1,10 +1,6 @@
type Query {
- """The default unnamend repository."""
- defaultRepository: Repository
- """Access a repository by reference/name."""
- repository(ref: String!): Repository
-
- #TODO: connection for all repositories
+ """Access a repository by reference/name. If no ref is given, the default repository is returned if any."""
+ repository(ref: String): Repository
}
type Mutation {