-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue getting working apollo-lambda-server with example quickstart code #1227
Comments
@liamdanielduffy Can you try upgrading to the new 2.0 RC and see if there are still issues? |
@evans this works great! thank you. do you expect any breaking changes to this new interface for apollo-server-lambda before the final release of 2.0? |
@liamdanielduffy I don't foresee any breaking changes to the lambda integration before the release. Unless @adnsio, @olistic, or you would like to see more features added? #1279 is following a very similar pattern, so I think we're continuing down the same path. |
@evans Nope, I'm good with it but thanks for asking. Looking at #1279, though, I see the author posted this:
IMO, those names should be standardized among the integrations, and that could end up being a breaking change (depending on if you agree with that and on what final name you opt for). |
Awesome, we're going with |
https://www.apollographql.com/docs/apollo-server/servers/lambda.html
I think I'm having the same problem as issues #759 and #333, but those issues were closed without much resolution to the root cause.
My current lambda handler (using Netlify's netlify-lambda package to build and deploy) exports a handler called 'handler' (as per the Netlify function requirements):
This logs:
...when I try to retrieve the schema with a graphiql client.
It seems that the output object has both a null statusCode and null body.
Any idea why the error would be null, but the output would have a null statusCode and body?
My schema file is as follows:
The text was updated successfully, but these errors were encountered: