Created
June 12, 2018 14:09
-
-
Save xoor-io/2a38db0fe7562a4351710ea2f630319d to your computer and use it in GitHub Desktop.
graphql-type
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 Book = ` | |
type Book { | |
title: String! | |
author: String! | |
} | |
`; | |
export const types = () => [Book]; | |
export const typeResolvers = { | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment