Created
June 2, 2017 04:38
-
-
Save duytai/5335e458c2a599531a2f0e213a77dc6a 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
type CreateBookPayload { | |
book: Book | |
} | |
type CreateMusicPayload { | |
music: Music | |
} | |
input CreateBookInput { | |
_id: ID! | |
authorId: String | |
} | |
input CreateMusicInput { | |
_id: ID! | |
name: String | |
} | |
type Mutation { | |
createBook(input: CreateBookInput): CreateBookPayload | |
createMusic(input: CreateMusicInput): CreateMusicPayload | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment