Skip to main content

CreateCommentPayload

The output of our create Comment mutation.

type CreateCommentPayload {
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

CreateCommentPayload.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.

CreateCommentPayload.comment ● Comment object

The Comment that was created by this mutation.

CreateCommentPayload.query ● Query object

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

CreateCommentPayload.workspace ● Workspace object

Reads a single Workspace that is related to this Comment.

CreateCommentPayload.authorAccount ● Account object

Reads a single Account that is related to this Comment.

CreateCommentPayload.authorProfile ● Profile object

Reads a single Profile that is related to this Comment.

CreateCommentPayload.step ● Step object

Reads a single Step that is related to this Comment.

CreateCommentPayload.section ● Section object

Reads a single Section that is related to this Comment.

CreateCommentPayload.parentComment ● Comment object

Reads a single Comment that is related to this Comment.

CreateCommentPayload.mentionedComment ● Comment object

Reads a single Comment that is related to this Comment.

CreateCommentPayload.accord ● Accord object

Reads a single Accord that is related to this Comment.

CreateCommentPayload.discussion ● Discussion object

Reads a single Discussion that is related to this Comment.

CreateCommentPayload.commentEdge ● CommentsEdge object

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

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

The method to use when ordering Comment.

Returned By

createComment mutation