David Glasser
David Glasser
Thanks! Will look at this in conjunction with https://github.com/apollographql/apollo-server/pull/5789
Does the link immediately above your new text not help you? Note that it suggests passing the `cache` to `new ApolloServer` rather than to the response cache plugin; that will...
It is unfortunate that "how do you call an async function from the top level of a file?" isn't a simple question with a single simple answer in the Node...
Thanks for the issue. Just as a note: as described at https://github.com/apollographql/apollo-server/pull/5070#issuecomment-847980268 we are not fully focused on apollo-datasource-rest issues at the moment, but hope to return to it soon.
Do you specifically mean all GraphQL requests that successfully make it to the execution of the operation, or literally all GraphQL requests? (Issues like incorrect formatting, parse errors, etc should...
I think this doesn't build (because it doesn't match the type returned from `@vendia/serverless-lambda`, which is the exact type from `aws-lambda` we're trying to move away from). I'm not quite...
(Another option would be to send DefinitelyTyped a PR to make their type more flexible or to provide another non-callback handler type!)
Unless something has changed, a PR to serverless-express to use type overloads to make its return type sensitive to how it is called would be best.
So, as you can see in the CI, this PR does not compile. That is because the serverlessExpress function we depend on (the default export of this file: https://github.com/vendia/serverless-express/blob/mainline/src/configure.d.ts) says...
Feel free to take over with your own PR — as described above, the PR as written does not build. Note that in the upcoming Apollo Server 4, the Lambda...