I use apollo-server-lambda
package for my serverless graphql project. I was wondering if I can use cors - npm middleware package with it?
Actually, its already using the express cors middleware based on the doc here. API Reference: apollo-server - Apollo GraphQL Docs
That’s correct! As of apollo-server-lambda@3.0.0
this is sharing some of the common middleware options as the apollo-server-express
integration.