Open nylon22 opened 2 years ago
I believe this project was built on an older version of graphql-yoga as GraphQLServerLambda is no longer an export of the graphql-yoga package. I get the following error:
graphql-yoga
GraphQLServerLambda
TypeError: GraphQLServerLambda is not a constructor
starting this project on this line:
https://github.com/resputin/yoga-serverless-mongo/blob/41d68b35402072256b9e8da7732fd4e7b7a3d371/handler.js#L22
I don't see an equivalent/renamed export here: https://github.com/dotansimha/graphql-yoga/blob/master/packages/graphql-yoga/src/index.ts Any ideas?
Side note: I see this as an alternative in graphql-yoga docs: https://github.com/dotansimha/graphql-yoga/blob/master/website/docs/integrations/integration-with-aws-lambda.mdx
I believe this project was built on an older version of
graphql-yoga
asGraphQLServerLambda
is no longer an export of thegraphql-yoga
package. I get the following error:starting this project on this line:
https://github.com/resputin/yoga-serverless-mongo/blob/41d68b35402072256b9e8da7732fd4e7b7a3d371/handler.js#L22
I don't see an equivalent/renamed export here: https://github.com/dotansimha/graphql-yoga/blob/master/packages/graphql-yoga/src/index.ts Any ideas?