Making subscriptions endpoint configurable #339
Replies: 2 comments 3 replies
-
Making it configurable would be fine, but the way it's implemented it couldn't also run on |
Beta Was this translation helpful? Give feedback.
-
Also, graphiql doesn't work with subscriptions in DGS because it expects subscriptions to be present on /graphql path, while they are located on /subscriptions path. And there is no way to change the subscription path nor there is a way to customize graphiql. The error message from graphiql: "Trying to execute subscription on /graphql. Use /subscriptions instead!" |
Beta Was this translation helpful? Give feedback.
-
I was wondering if you would be open to making the endpoint for subscriptions configurable. Apollo Server uses /graphql and it would be nice to be able to swap out implementations like for like. As far as I can tell it's just a hardcoded string right now, so should hopefully be relatively straightforward. Would you be open to a pull request for that?
Beta Was this translation helpful? Give feedback.
All reactions