Created
April 11, 2018 12:22
-
-
Save wojciech-bilicki/951a51501b643b6505cb3c652dad15de 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
const typeDefs = ` | |
type Author { | |
age: Int | |
name: String, | |
Books: [String] | |
} | |
type Query { | |
authors: [Author] | |
author(age: Int): Author | |
} | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment