-
-
Save katesclau/c1b5d4bde9939dd1a9b18ab58fc6df76 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
interface Character { | |
id: ID! | |
name: String! | |
friends: [Character] | |
appearsIn: [Episode]! | |
} | |
type Human implements Character { | |
id: ID! | |
name: String! | |
friends: [Character] | |
appearsIn: [Episode]! | |
starships: [Starship] | |
totalCredits: Int | |
} | |
type Droid implements Character { | |
id: ID! | |
name: String! | |
friends: [Character] | |
appearsIn: [Episode]! | |
primaryFunction: String | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment