You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I initially posted this in graphql-hive/graphql-yoga#614 but since yoga seems to be superseded by santa, I will post it here.
Although server support and lambda support is currently great, I'd been having troubles trying to expose a graphql-yoga endpoint in next.js.
Since I am using Next9, I want to leverage the API Routes feature, which although is a serverless function, has a slightly different signature than lambda functions.
The good news is that those API routes support any micro compatible middleware out-of-the-box. And even better, there is already an apollo-server-micro implementation, which is really similar to using the apollo-server-lambda exposed in GraphQLServerLambda.
Are there any plans on making the micro integration soon? If not, I can help with a PR.
The text was updated successfully, but these errors were encountered:
Hey @iamkevinwolf to get up to speed on this stuff, could you point to a minimal example app and/or the relevant docs to read up on? Also wonder how much impact #231 would have on this issue (were we to go that way).
Although server support and lambda support is currently great, I'd been having troubles trying to expose a graphql-yoga endpoint in next.js.
Since I am using Next9, I want to leverage the API Routes feature, which although is a serverless function, has a slightly different signature than lambda functions.
The good news is that those API routes support any micro compatible middleware out-of-the-box. And even better, there is already an apollo-server-micro implementation, which is really similar to using the apollo-server-lambda exposed in GraphQLServerLambda.
Are there any plans on making the micro integration soon? If not, I can help with a PR.
The text was updated successfully, but these errors were encountered: