Created
November 9, 2019 18:58
-
-
Save abdoulmouctard/223855b034338a5f66beaa64d3459dd6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scalar Date | |
type Comment { | |
user(id: String!): User! | |
issue(id: String!): Issue! | |
content: String! | |
createdAt: Date! | |
updatedAt: Date! | |
} | |
type Mutation { | |
createComment(userId: ID!, issueId: String!, content: String!): Comment! | |
updateComment(userId: ID!, issueId: ID!, content: String): Comment! | |
deleteComment(id: ID!): Boolean! | |
} | |
type Query { | |
comment(id: String!): Status! | |
statuses(after: String, first: Int): StatusCursor | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment