aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/schema.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'graphql/schema.graphql')
-rw-r--r--graphql/schema.graphql7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphql/schema.graphql b/graphql/schema.graphql
index 6aadfaf1..b481d2d7 100644
--- a/graphql/schema.graphql
+++ b/graphql/schema.graphql
@@ -166,9 +166,16 @@ type Bug {
type Repository {
allBugs(input: ConnectionInput!): BugConnection!
bug(prefix: String!): Bug
+
+ mutation: RepositoryMutation!
}
type Query {
defaultRepository: Repository
repository(id: String!): Repository
}
+
+
+type RepositoryMutation {
+ newBug(title: String!, message: String!): Bug!
+}