bug_comment.graphql

 1"""Represents a comment on a bug."""
 2type BugComment implements Authored
 3@goModel(model: "github.com/git-bug/git-bug/entities/bug.Comment") {
 4    id: CombinedId! @goField(name: "CombinedId")
 5
 6    """The author of this comment."""
 7    author: Identity!
 8
 9    """The message of this comment."""
10    message: String!
11
12    """All media's hash referenced in this comment"""
13    files: [Hash!]!
14}
15
16type BugCommentConnection {
17    edges: [BugCommentEdge!]!
18    nodes: [BugComment!]!
19    pageInfo: PageInfo!
20    totalCount: Int!
21}
22
23type BugCommentEdge {
24    cursor: String!
25    node: BugComment!
26}