Files
talk/client/coral-framework/graphql/mutations/postComment.graphql
T
2017-02-09 17:01:16 -08:00

13 lines
306 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
}
errors {
translation_key
}
}
}