app/frontend/comments/comments.query.graphql in decidim-comments-0.0.3 vs app/frontend/comments/comments.query.graphql in decidim-comments-0.0.5
- old
+ new
@@ -2,12 +2,18 @@
session {
user {
name
avatarUrl
}
- ...AddCommentForm
+ ...AddCommentFormSession
}
- comments(commentableId: $commentableId, commentableType: $commentableType, orderBy: $orderBy) {
- id
- ...CommentThread
+ commentable(id: $commentableId, type: $commentableType) {
+ acceptsNewComments
+ commentsHaveAlignment
+ commentsHaveVotes
+ comments(orderBy: $orderBy) {
+ id
+ ...CommentThread
+ }
+ ...AddCommentFormCommentable
}
}