Created
December 6, 2016 19:00
-
-
Save rricard/3bf04348379ae04cb2a791560e065b7c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
enum Episode { | |
NEWHOPE | |
EMPIRE | |
JEDI | |
} | |
type Character { | |
id: ID! | |
name: String! | |
friends: [Character] | |
appearsIn: [Episode] | |
} | |
type Query { | |
hero(episode: Episode): Character! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment