GraphiQL open_in_new

# `CommitComment`

Represents a comment on a given Commit.

## GraphQL Schema definition `

- type CommitComment implements Node, Comment, Reactable, RepositoryNode {
- # The author of the comment.
- author: Author
- # Identifies the comment body.
- body: String!
- # Identifies the comment body rendered to HTML.
- bodyHTML: HTML!
- # Identifies the commit associated with the comment.
- commit: Commit!
- # Identifies the date and time when the object was created.
- createdAt: DateTime!
- # Check if this comment was created via an email reply.
- createdViaEmail: Boolean!
- # Identifies the primary key from the database.
- databaseId: Int @deprecated( reason: "Exposed database IDs will eventually be removed in favor of global Relay IDs." )
- # The editor of the comment.
- editor: Author
- id: ID!
- # The moment the editor made the last edit
- lastEditedAt: DateTime
- # Are reaction live updates enabled for this subject.
- liveReactionUpdatesEnabled: Boolean!
- # Identifies the file path associated with the comment.
- path: String
- # Identifies the line position associated with the comment.
- position: Int
- # A list of reactions grouped by content left on the
- # subject.
- reactionGroups: [ReactionGroup!]
- # A list of Reactions left on the Issue.
- #
- # Arguments
- # first: Returns the first _n_ elements
- # from the list.
- # after: Returns the elements in the
- # list that come after the specified global ID.
- # last: Returns the last _n_ elements
- # from the list.
- # before: Returns the elements in the
- # list that come before the specified global ID.
- # content: Allows filtering Reactions
- # by emoji.
- # orderBy: Allows specifying the order
- # in which reactions are returned.
- reactions(first: Int, after: String, last: Int, before: String, content: ReactionContent, orderBy: ReactionOrder): ReactionConnection!
- # The websocket channel ID for reaction live updates.
- reactionsWebsocket: String!
- # Identifies the repository associated with the comment.
- repository: Repository!
- # Identifies the date and time when the object was last
- # updated.
- updatedAt: DateTime!
- # Identifies the user who created the comment.
- user: User! @deprecated( reason: "Use `author`." )
- # Check if the current viewer can delete this comment.
- viewerCanDelete: Boolean!
- # Check if the current viewer edit this comment.
- viewerCanEdit: Boolean!
- # Can user react to this subject
- viewerCanReact: Boolean!
- # Errors why the current viewer can not edit this comment.
- viewerCannotEditReasons: [CommentCannotEditReason!]!
- # Did the viewer author this comment.
- viewerDidAuthor: Boolean!
- }

`