Retrieving comment y id from backend

This commit is contained in:
David Jay
2017-02-27 14:26:20 -05:00
parent a47e2378e9
commit ab16e5bfe7
4 changed files with 33 additions and 1 deletions
+6
View File
@@ -149,6 +149,9 @@ input CommentCountQuery {
# Comment is the base representation of user interaction in Talk.
type Comment {
# The parent of the comment (if there is one).
parent: Comment
# The ID of the comment.
id: ID!
@@ -477,6 +480,9 @@ type RootQuery {
# Site wide settings and defaults.
settings: Settings
# Finds a specific comment based on it's id.
comment(id: ID!): Comment
# All assets. Requires the `ADMIN` role.
assets: [Asset]