A comment on a discussion.

author (GitHubActor)

The actor who authored the comment.

authorAssociation (GitHubCommentAuthorAssociation!)

Author's association with the subject of the comment.

body (String!)

The body as Markdown.

bodyHTML (GitHubHTML!)

The body rendered to HTML.

bodyText (String!)

The body rendered to text.

createdAt (GitHubDateTime!)

Identifies the date and time when the object was created.

createdViaEmail (Boolean!)

Check if this comment was created via an email reply.

databaseId (Int)

Identifies the primary key from the database.

deletedAt (GitHubDateTime)

The time when this replied-to comment was deleted

discussion (GitHubDiscussion)

The discussion this comment was created in

editor (GitHubActor)

The actor who edited the comment.

id (ID!)

No description

includesCreatedEdit (Boolean!)

Check if this comment was edited and includes an edit with the creation data

isAnswer (Boolean!)

Has this comment been chosen as the answer of its discussion?

isMinimized (Boolean!)

Returns whether or not a comment has been minimized.

lastEditedAt (GitHubDateTime)

The moment the editor made the last edit

minimizedReason (String)

Returns why the comment was minimized.

oneGraphId (ID!)

Unique id across all of OneGraph

oneGraphLinkedNodes (OneGraphLinkedNodesConnection!)

List of OneGraphNodes that are linked from this node.

publishedAt (GitHubDateTime)

Identifies when the comment was published at.

reactionGroups ([GitHubReactionGroup!])

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

reactions (GitHubReactionConnection!)

A list of Reactions left on the Issue.

replies (GitHubDiscussionCommentConnection!)

The threaded replies to this comment.

replyTo (GitHubDiscussionComment)

The discussion comment this comment is a reply to

resourcePath (GitHubURI!)

The path for this discussion comment.

updatedAt (GitHubDateTime!)

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

upvoteCount (Int!)

Number of upvotes that this subject has received.

url (GitHubURI!)

The URL for this discussion comment.

userContentEdits (GitHubUserContentEditConnection)

A list of edits to this content.

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

viewerCanMarkAsAnswer (Boolean!)

Can the current user mark this comment as an answer?

viewerCanMinimize (Boolean!)

Check if the current viewer can minimize this object.

viewerCannotUpdateReasons ([GitHubCommentCannotUpdateReason!]!)

Reasons why the current viewer can not update this comment.

viewerCanReact (Boolean!)

Can user react to this subject

viewerCanUnmarkAsAnswer (Boolean!)

Can the current user unmark this comment as an answer?

viewerCanUpdate (Boolean!)

Check if the current viewer can update this object.

viewerCanUpvote (Boolean!)

Whether or not the current user can add or remove an upvote on this subject.

viewerDidAuthor (Boolean!)

Did the viewer author this comment.

viewerHasUpvoted (Boolean!)

Whether or not the current user has already upvoted this subject.


An object with a globally unique id across all of OneGraph


Represents a comment.


Entities that can be deleted.


Entities that can be minimized.


An object with an ID.


Represents a subject that can be reacted on.


Entities that can be updated.


Comments that can be updated.


A subject that may be upvoted.


Autogenerated return type of AddDiscussionComment


Autogenerated return type of DeleteDiscussionComment


A discussion in a repository.


A comment on a discussion.


The connection type for DiscussionComment.


An edge in a connection.


Autogenerated return type of UpdateDiscussionComment