CommitComment

Represents a comment on a given Commit.

Implements

Connections

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.

Fields

author (Actor)

The actor who authored the comment.

body (String!)

Identifies the comment body.

bodyHTML (HTML!)

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 (Actor)

The actor who edited the comment.

lastEditedAt (DateTime)

The moment the editor made the last edit

path (String)

Identifies the file path associated with the comment.

position (Int)

Identifies the line position associated with the comment.

publishedAt (DateTime)

Identifies when the comment was published at.

reactionGroups ([ReactionGroup!])

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

repository (Repository!)

Identifies the repository associated with the comment.

updatedAt (DateTime!)
Deprecation notice

General type updated timestamps will eventually be replaced by other field specific timestamps.

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

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

viewerCanReact (Boolean!)

Can user react to this subject

viewerCanUpdate (Boolean!)

Check if the current viewer can update this object.

viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

Reasons why the current viewer can not update this comment.

viewerDidAuthor (Boolean!)

Did the viewer author this comment.