Comment object

A comment on an article.

Required access

unauthenticated_read_content access scope.

Fields

  • author (CommentAuthor!)

    The comment’s author.

  • content (String!)

    Stripped content of the comment, single line with HTML tags removed.

    Argument Description
    truncateAt ( Int )

    Truncates string after the given length.

  • contentHtml (HTML!)

    The content of the comment, complete with HTML formatting.

  • id (ID!)

    Globally unique identifier.

Types that return Comment

Implements

An auto-generated type for paginating through multiple Comments.

Fields

Types that return Comment

An auto-generated type which holds one Comment and a cursor during pagination.

Fields

  • cursor (String!)

    A cursor for use in pagination.

  • node (Comment!)

    The item at the end of CommentEdge.

Types that return Comment

A comment on an article.

Required access

unauthenticated_read_content access scope.

Fields