Created
May 24, 2022 08:31
-
-
Save factoryhr/96468241fe63f7122eb05c8ddfa8d0f7 to your computer and use it in GitHub Desktop.
IntroductionToGraphQLBlogPost
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
mutation { | |
createComment( | |
parentId: 765, | |
key: "comment-2", | |
published: true, | |
type: "object", | |
input: {news: {id: 765, type: "object"}, | |
username: "Jane", | |
email: "jane.bond@test.com", | |
content: "Fantastic!" | |
}) { | |
success | |
message | |
output { | |
username, | |
email, | |
content | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment