Files
GitHawk/gql/AddComment.graphql
James Sherlock edf76f42f3 Add ability to delete comments (#530)
* Add alert action to delete comments, add viewerCanDelete variable

[skip ci]

* Add delete confirmation message

* Enable networking for deleting comments

* Updates as per @BasThomas feedback

* Update comment, oops
2017-10-14 14:41:45 -04:00

14 lines
294 B
GraphQL

mutation AddComment($subject_id: ID!, $body: String!) {
addComment(input:{subjectId: $subject_id, body: $body}) {
commentEdge {
node {
...nodeFields
...reactionFields
...commentFields
...updatableFields
...deletableFields
}
}
}
}