rem
11/03/2017, 4:59 PMSyed Aman
11/03/2017, 5:01 PMPost
would have an array of `Comment`s in a field right?nilan
11/03/2017, 5:01 PMnilan
11/03/2017, 5:02 PMrem
11/03/2017, 5:02 PMrem
11/03/2017, 5:03 PMnilan
11/03/2017, 5:11 PMSyed Aman
11/03/2017, 5:11 PMrem
11/03/2017, 5:13 PMnilan
11/03/2017, 5:13 PMupdatePost(
id: $postId
update_comment: {
filter: {
author: {
id: $userId
}
}
comment: {
text: $newText
}
}
) {
id
}
nilan
11/03/2017, 5:14 PMupdatePost
to update a connected comment, that you select by some condition