Sha256: 5607b5f5017104aa126ca5781d67c375b5962390bd145c46cba7589a31c46312

Contents?: true

Size: 864 Bytes

Versions: 8

Compression:

Stored size: 864 Bytes

Contents

#import "../fragments/add_comment_form_session.fragment.graphql"
#import "../fragments/comment_thread.fragment.graphql"
#import "../fragments/add_comment_form_commentable.fragment.graphql"
query GetComments($commentableId: String!, $commentableType: String!, $orderBy: String, $singleCommentId: String, $locale: String!, $toggleTranslations: Boolean!) {
  session {
    user {
      name
      nickname
      avatarUrl
      organizationName
    }
    ...AddCommentFormSession
  }
  commentable(id: $commentableId, type: $commentableType, locale: $locale, toggleTranslations: $toggleTranslations) {
    acceptsNewComments
    userAllowedToComment
    commentsHaveAlignment
    commentsHaveVotes
    totalCommentsCount
    comments(orderBy: $orderBy, singleCommentId: $singleCommentId) {
      id
      ...CommentThread
    }
    ...AddCommentFormCommentable
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decidim-comments-0.23.6 app/frontend/queries/comments.query.graphql
decidim-comments-0.23.5 app/frontend/queries/comments.query.graphql
decidim-comments-0.23.4 app/frontend/queries/comments.query.graphql
decidim-comments-0.23.3 app/frontend/queries/comments.query.graphql
decidim-comments-0.23.2 app/frontend/queries/comments.query.graphql
decidim-comments-0.23.1 app/frontend/queries/comments.query.graphql
decidim-comments-0.23.1.rc1 app/frontend/queries/comments.query.graphql
decidim-comments-0.23.0 app/frontend/queries/comments.query.graphql