Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const server = new GraphQLServer({
typeDefs: './src/schema.graphql',
resolvers,
context: req => ({
...req,
db: new Prisma({
typeDefs: 'src/generated/prisma.graphql',
endpoint: 'https://eu1.prisma.sh/public-warpcrow-597/blogr/dev',
secret: 'mysecret123',
debug: true,
}),
}),
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.