Schema Documentation
updateComment
Description
The updateComment mutation
Response
Returns an UpdateCommentPayload
Arguments
Name | Description |
---|---|
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":false}}}