CommentCreate
Add a comment for any Commentable.
CommentCreate(
commentableId: ID!
commentableType: String!
body: String!
): CommentCreateUnion!
Arguments
CommentCreate.commentableId ● ID! non-null scalar
ID of the commentable that the comment is for.
CommentCreate.commentableType ● String! non-null scalar
Type of the commentable that the comment is for.
CommentCreate.body ● String! non-null scalar
Text of the comment.
Type
CommentCreateUnion union
If mutation is successful, the CommentType will be returned, otherwise a MutationError is returned.