decidim-comments/app/frontend/comments/comments.query.graphql in decidim-0.0.2 vs decidim-comments/app/frontend/comments/comments.query.graphql in decidim-0.0.3
- old
+ new
@@ -1,8 +1,11 @@
query GetComments($commentableId: String!, $commentableType: String!, $orderBy: String) {
- currentUser {
- name
- avatarUrl
+ session {
+ user {
+ name
+ avatarUrl
+ }
+ ...AddCommentForm
}
comments(commentableId: $commentableId, commentableType: $commentableType, orderBy: $orderBy) {
id
...CommentThread
}