Created
June 20, 2018 12:31
-
-
Save rajatgeekyants/12c38fbe6b5fa381313912edcd211641 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
import {makeExecutableSchema} from 'graphql-tools'; | |
import {resolvers} from './resolvers'; | |
const typeDefs = ` | |
type Query { | |
name: String! | |
} | |
` | |
export default makeExecutableSchema({ | |
typeDefs, | |
resolvers | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment