Open mishushakov opened 1 year ago
export const config = { runtime: 'edge' } export const schema = buildSchema({ g, resolvers }) // Next.JS + Yoga API const yoga = createYoga({ schema, graphqlEndpoint: '/api/graphql' }) export default yoga.handleRequest
Just wanted to let you guys know that this is really neat and this is exactly what i was looking for! :) awesome!