Represents a comment on a given Commit.



reactions (ReactionConnection)
A list of Reactions left on the Issue.
Argument Type Description
first Int

Returns the first n elements from the list.

after String

Returns the elements in the list that come after the specified global ID.

last Int

Returns the last n elements from the list.

before String

Returns the elements in the list that come before the specified global ID.

content ReactionContent

Allows filtering Reactions by emoji.

orderBy ReactionOrder

Allows specifying the order in which reactions are returned.


author (Author)

The author of the comment.

body (String)

Identifies the comment body.


Identifies the comment body rendered to HTML.

commit (Commit)

Identifies the commit associated with the comment.

createdAt (DateTime)

Identifies the date and time when the object was created.

createdViaEmail (Boolean)

Check if this comment was created via an email reply.

databaseId (Int)
Deprecation notice

Exposed database IDs will eventually be removed in favor of global Relay IDs.

Identifies the primary key from the database.

editor (Author)

The editor of the comment.

lastEditedAt (DateTime)

The moment the editor made the last edit

liveReactionUpdatesEnabled (Boolean)

Are reaction live updates enabled for this subject.

path (String)

Identifies the file path associated with the comment.

position (Int)

Identifies the line position associated with the comment.

reactionGroups (ReactionGroup)

A list of reactions grouped by content left on the subject.

reactionsWebsocket (String)

The websocket channel ID for reaction live updates.

repository (Repository)

Identifies the repository associated with the comment.

updatedAt (DateTime)

Identifies the date and time when the object was last updated.

user (User)
Deprecation notice

Use author.

Identifies the user who created the comment.

viewerCanDelete (Boolean)

Check if the current viewer can delete this comment.

viewerCanEdit (Boolean)

Check if the current viewer edit this comment.

viewerCanReact (Boolean)

Can user react to this subject

viewerCannotEditReasons (CommentCannotEditReason)

Errors why the current viewer can not edit this comment.

viewerDidAuthor (Boolean)

Did the viewer author this comment.