Unable to migrate from express-graphql: loads forever #84
-
Expected Behaviour
Actual Behaviour Debug Information
Further Information
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hey there, thanks for writing. The issue is that you're not using the express specific handler from graphql-http. Consider making the following change: - const {createHandler} = require('graphql-http');
+ const {createHandler} = require('graphql-http/lib/use/express'); |
Beta Was this translation helpful? Give feedback.
-
@enisdenjo Hey, just wanted to add my experience with adding That said, I should have really head to the documentation first where I'd find that bit of information. |
Beta Was this translation helpful? Give feedback.
Hey there, thanks for writing. The issue is that you're not using the express specific handler from graphql-http. Consider making the following change: