From my understanding from the documentation, there doesn't seem to be any extra configuration that I need to set in the Hive Gateway or the Mesh Compose supergraph for subscriptions using SSE. Am I missing something?
Edit: It seems if I remove includeRootOperations: true it works, however I do need to have prefixes on the subscription. Not sure why the prefix is breaking it
Hi, I have a subgraph that follows this getting started example: https://the-guild.dev/graphql/yoga-server/docs/features/subscriptions#getting-started
This works perfectly fine when connecting to this subgraph and running the subscription in graphiql.
I have a supergraph component that is defined with:
Then I have my Hive Gateway:
gateway.config.ts
Running in docker-compose:
The Dockerfile copies the supergraph.graphql and gateway config into the container
When executing the query in the Hive Gateway GraphiQL, I get:
From my understanding from the documentation, there doesn't seem to be any extra configuration that I need to set in the Hive Gateway or the Mesh Compose supergraph for subscriptions using SSE. Am I missing something?
Versions:
Thanks!
Edit: It seems if I remove
includeRootOperations: true
it works, however I do need to have prefixes on the subscription. Not sure why the prefix is breaking it