aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/schema
diff options
context:
space:
mode:
Diffstat (limited to 'graphql/schema')
-rw-r--r--graphql/schema/bug.graphql27
1 files changed, 25 insertions, 2 deletions
diff --git a/graphql/schema/bug.graphql b/graphql/schema/bug.graphql
index e294a363..8e058ed7 100644
--- a/graphql/schema/bug.graphql
+++ b/graphql/schema/bug.graphql
@@ -36,11 +36,34 @@ type Bug {
title: String!
labels: [Label!]!
author: Identity!
- actors: [Identity]!
- participants: [Identity]!
createdAt: Time!
lastEdit: Time!
+ """The actors of the bug. Actors are Identity that have interacted with the bug."""
+ actors(
+ """Returns the elements in the list that come after the specified cursor."""
+ after: String
+ """Returns the elements in the list that come before the specified cursor."""
+ before: String
+ """Returns the first _n_ elements from the list."""
+ first: Int
+ """Returns the last _n_ elements from the list."""
+ last: Int
+ ): IdentityConnection!
+
+ """The participants of the bug. Participants are Identity that have created or
+ added a comment on the bug."""
+ participants(
+ """Returns the elements in the list that come after the specified cursor."""
+ after: String
+ """Returns the elements in the list that come before the specified cursor."""
+ before: String
+ """Returns the first _n_ elements from the list."""
+ first: Int
+ """Returns the last _n_ elements from the list."""
+ last: Int
+ ): IdentityConnection!
+
comments(
"""Returns the elements in the list that come after the specified cursor."""
after: String