when using "apollo-server-express" I have to manually call installSubscriptionHandlers to enable subscriptions
it was handled automatically when using "apollo-express"
is this expected ? if that's the case something should probably be added to the doc
It is in the docs on the site but kind of deep:
https://www.apollographql.com/docs/apollo-server/features/subscriptions.html#middleware
Those docs come from a separate package though specifically https://github.com/apollographql/subscriptions-transport-ws:
https://github.com/apollographql/subscriptions-transport-ws/blob/7f2aa27a02789e572aa678ccc98f915b093a5c2e/docs/source/express.md
PS: not a maintainer just looking at the same docs 馃槃
indeed, closing this then
thx @ksrb
Most helpful comment
It is in the docs on the site but kind of deep:
https://www.apollographql.com/docs/apollo-server/features/subscriptions.html#middleware
Those docs come from a separate package though specifically https://github.com/apollographql/subscriptions-transport-ws:
https://github.com/apollographql/subscriptions-transport-ws/blob/7f2aa27a02789e572aa678ccc98f915b093a5c2e/docs/source/express.md
PS: not a maintainer just looking at the same docs 馃槃