Schema Documentation

updateComment

Description

The payload for the updateComment mutation

Response

Returns an UpdateCommentPayload

Arguments
NameDescription
input - UpdateCommentInput! Input for the updateComment mutation

Example

Query
mutation updateComment($input: UpdateCommentInput!){
  updateComment(input: $input){
    clientMutationIdcomment {
      ...CommentFragment
    }success
  }
}
Variables
{"input":UpdateCommentInput}
Response
{"data":{"updateComment":{"clientMutationId":"xyz789","comment":Comment,"success":true}}}