Unable to migrate from express-graphql: loads forever #84
|
Expected Behaviour Actual Behaviour Debug Information Further Information |
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'); |
|
@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. |


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: