Comment
Represents a comment object, including its author and replies.
Type Definition
type Comment {
id: Int
customer: Customer
name: String
isAuthor: Boolean
parentCount: Int
comments: [Comment]
comment: String
createdAt: String
updatedAt: String
}Fields
Relationships
The Comment type represents a hierarchical comment structure where comments can have replies. Each comment is associated with a Customer object that represents the author. Comments can contain nested replies through the comments field, allowing for threaded comment discussions. The parentCount field indicates the depth of the comment within the hierarchy.
Example
{
id
customer {
id
email
firstName
lastName
}
name
isAuthor
parentCount
comment
createdAt
updatedAt
comments {
id
name
comment
createdAt
}
}Implements
None