Hello guys am building a web app using next js and...
# orm-help
k
Hello guys am building a web app using next js and graphql-yoga. In graphql-yoga docs they have stated that Middlewares can also be added specifically to the GraphQL endpoint route, by using server.express.post(server.options.endpoint, myMiddleware()). I have tried to implement this on a endpoint '/payment' but its not working. I have tried with all other routes but none is working expect the index route '/'. Why is this happening anyone with an idea.