Last active
December 25, 2018 15:23
-
-
Save hash32bot/4aee7ac41f952a29af2544770a5b1d7c to your computer and use it in GitHub Desktop.
New speaker mutation - [Post] GraphQL with Sinatra (Ruby) - Part 2- Mutations
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 AddSpeaker($name:String, $talkTitle:String, $bio:String, $twitterHandle:String) { | |
createSpeaker(name: $name, talkTitle: $talkTitle, bio: $bio, twitterHandle: $twitterHandle) { | |
success | |
errors | |
} | |
} |
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
{ | |
"name": "Adam Smith", | |
"talkTitle": "Web Development Fundamentals", | |
"twitterHandle": "adamsm", | |
"bio": "Adam is a seasoned web developer, who has worked as a Software Engineer in Google, and now is the force behind the GraphiQL web client" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment