-
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
Lambda GraphiQL errors when event.queryStringParameters is null #504
Comments
null
I was able to reproduce it and the workaround worked. |
Is there a workaround to fix this on the server rather than by sending the client a different url? |
If I downgrade |
Ran into this as well, a good solution would be to change this: to:
|
I think #512 fixes this issue! |
Closing as I suspect this is fixed, but please do ping back or open a new issue if this is still occurring on the latest versions of Apollo Server 2.x! Thanks for reporting this originally! |
I'm running a Lambda GraphQL Server using AWS Lambda and API Gateway.
The GraphiQL is configured as a
Lambda Proxy integration
.Intended outcome
Get the regular GraphiQL interface when I access
https://myapi.com/graphiql
.Actual outcome
Cannot read property 'query' of null
How to reproduce the issue
GraphiQL method configured as a
Lambda Proxy integration
.Workaround
https://myapi.com/graphiql?foo=42
works just fine.The text was updated successfully, but these errors were encountered: