Skip to main content

CreateCommentInput

Provides the fields and values to use when creating a comment.

input CreateCommentInput {
commentable: CommentCommentableInput!
body: String!
parentId: ID
}

Fields

CreateCommentInput.commentable ● CommentCommentableInput! non-null input

The commentable details of the comment.

CreateCommentInput.body ● String! non-null scalar

The comment's body.

CreateCommentInput.parentId ● ID scalar

The comments's parent comment.

Member Of

createComment mutation