Files
talk/client/coral-framework/graphql/mutations/postComment.graphql
T
2017-02-16 17:18:36 -05:00

17 lines
388 B
GraphQL

#import "../fragments/commentView.graphql"
mutation CreateComment ($asset_id: ID!, $parent_id: ID, $body: String!) {
createComment(asset_id:$asset_id, parent_id:$parent_id, body:$body) {
comment {
...commentView
replyCount
replies {
...commentView
}
}
errors {
translation_key
}
}
}