#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) { session { user { name avatarUrl organizationName } ...AddCommentFormSession } commentable(id: $commentableId, type: $commentableType) { acceptsNewComments commentsHaveAlignment commentsHaveVotes comments(orderBy: $orderBy) { id ...CommentThread } ...AddCommentFormCommentable } }