Comment

A polymorphic comment of an entity in the system.

type Comment {
author: Party
body: String
children(
after: String
before: String
first: Int = 0
last: Int = 0
filters: ProposalCommentFiltersInput
): CommentConnection!
createdAt: ISO8601DateTime
deletedAt: ISO8601DateTime
id: ID!
isAuthor: Boolean!
totalRepliesCount: Int
updatedAt: ISO8601DateTime
}

Fields#

author (Party)#

Party who made the comment.

body (String)#

The body of the comment.

children (CommentConnection!)#

Child nodes of the root or parent comment.

Returns the elements in the list that come after the specified cursor.

Returns the elements in the list that come before the specified cursor.

Returns the first n elements from the list.

Returns the last n elements from the list.

Filter comment children by different arguments.

createdAt (ISO8601DateTime)#

Timestamp of creation of the comment.

deletedAt (ISO8601DateTime)#

Returns a timestamp if the record was deleted. You will receive the body and author as null but you can still receive children.

id (ID!)#

A random identifier for the comment.

isAuthor (Boolean!)#

Returns true if the current party is the author of the comment.

totalRepliesCount (Int)#

Returns total count of replies to the comment.

updatedAt (ISO8601DateTime)#

Timestamp of update of the comment.