Schema Documentation
createComment
Description
The createComment mutation
Response
Returns a CreateCommentPayload
Arguments
Name | Description |
---|---|
input - CreateCommentInput! | Input for the createComment mutation |
Example
Query
mutation createComment($input: CreateCommentInput!){ createComment(input: $input){ clientMutationIdcomment { ...CommentFragment }success }}
Variables
{"input":CreateCommentInput}
Response
{"data":{"createComment":{"clientMutationId":"xyz789","comment":Comment,"success":false}}}