Skip to main content

UpdateCommentPayload

The output of our update Comment mutation.

type UpdateCommentPayload {
clientMutationId: String
comment: Comment
query: Query
workspace: Workspace
authorAccount: Account
authorProfile: Profile
step: Step
section: Section
parentComment: Comment
mentionedComment: Comment
accord: Accord
discussion: Discussion
commentEdge(
orderBy: [CommentsOrderBy!] = [PRIMARY_KEY_ASC]
): CommentsEdge
}

Fields

UpdateCommentPayload.clientMutationId ● String scalar

The exact same clientMutationId that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations.

UpdateCommentPayload.comment ● Comment object

The Comment that was updated by this mutation.

UpdateCommentPayload.query ● Query object

Our root query field type. Allows us to run any query from our mutation payload.

UpdateCommentPayload.workspace ● Workspace object

Reads a single Workspace that is related to this Comment.

UpdateCommentPayload.authorAccount ● Account object

Reads a single Account that is related to this Comment.

UpdateCommentPayload.authorProfile ● Profile object

Reads a single Profile that is related to this Comment.

UpdateCommentPayload.step ● Step object

Reads a single Step that is related to this Comment.

UpdateCommentPayload.section ● Section object

Reads a single Section that is related to this Comment.

UpdateCommentPayload.parentComment ● Comment object

Reads a single Comment that is related to this Comment.

UpdateCommentPayload.mentionedComment ● Comment object

Reads a single Comment that is related to this Comment.

UpdateCommentPayload.accord ● Accord object

Reads a single Accord that is related to this Comment.

UpdateCommentPayload.discussion ● Discussion object

Reads a single Discussion that is related to this Comment.

UpdateCommentPayload.commentEdge ● CommentsEdge object

An edge for our Comment. May be used by Relay 1.

UpdateCommentPayload.commentEdge.orderBy ● [CommentsOrderBy!] list enum

The method to use when ordering Comment.

Returned By

updateComment mutation ● updateCommentByNodeId mutation