Skip to content

Instantly share code, notes, and snippets.

@wojciech-bilicki
Created April 11, 2018 12:22
Show Gist options
  • Save wojciech-bilicki/951a51501b643b6505cb3c652dad15de to your computer and use it in GitHub Desktop.
Save wojciech-bilicki/951a51501b643b6505cb3c652dad15de to your computer and use it in GitHub Desktop.
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