Last active
August 13, 2020 05:42
-
-
Save velotiotech/66e98251234b2c726c07639e41b50184 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 server = new GraphQLServer({ | |
typeDefs: './src/schema.graphql', | |
resolvers, | |
context: request => { | |
return { | |
...request, | |
prisma, | |
pubsub | |
} | |
}, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment