decidim-comments/app/frontend/comments/comments.query.graphql in decidim-0.0.4 vs decidim-comments/app/frontend/comments/comments.query.graphql in decidim-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
}
}