GraphQLServerLambda is not a constructor #1438
-
This is my handler.js code: const resolvers = require('./src/resolvers') const lambda = new GraphQLServer({ exports.server = lambda.graphqlHandler While running test on lambda function, I am getting the error: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is no export such as |
Beta Was this translation helpful? Give feedback.
There is no export such as
GraphQLServerLambda
in Yoga version 2. You can find the AWS Lambda guide over here: https://www.graphql-yoga.com/docs/integrations/integration-with-aws-lambda