-
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
2.0rc hapi integration - runtime error when gui: true #1195
Comments
Ah thank you for reporting the issue! I'm taking a look and will add some of the tests that we are using for the express integration |
We've released RC.1, which contains #1211, so the issue should be resolved. Thank you for flagging it @SkaterDad! |
Also thank you so much for the reproduction! See https://glitch.com/edit/#!/hapi-as2?path=server.js:13:17 for a fork that upgrades to the latest RC |
@evans Thanks for the quick fix! Apollo 2.0 is a really exciting project 👍 Would you be willing to add the ability to pass more hapi route options to the plugin/routes, not just There are quite a few route options: https://hapijs.com/api#route-options For my own cases, I can see GraphQL handles auth in such a different way, I need to provide a different I can create a new issue, or post this in an existing issue if you prefer for tracking purposes. |
When trying to add Apollo Server 2.0rc to my existing hapi project last night, I ran into a runtime error when attempting to use the GUI. I was able to POST requests just fine, but could not open GraphQL Playground.
I wanted to debug it a bit last night, but the transpiled code is very hard to follow. It would be so much easier if you didn't have to support Node 6 anymore, or could ship a build that's usable natively for Node 8+.
Minimal code to reproduce (Also on Glitch)
The text was updated successfully, but these errors were encountered: