-
-
Save hash32bot/86bba2aed6fb10c0abd0a40c6a232318 to your computer and use it in GitHub Desktop.
Speaker Mutations 2 - [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
require 'graphql' | |
require_relative 'base_mutation' | |
class Mutations::CreateSpeaker < Mutations::BaseMutation | |
description 'Creates a speaker' | |
argument :name, String, required: false | |
argument :bio, String, required: false | |
argument :twitter_handle, String, required: false | |
argument :talk_title, String, required: false | |
# ... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment