mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 00:56:24 +08:00
17 lines
388 B
GraphQL
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
|
|
}
|
|
}
|
|
}
|