Schema is not configured for subscriptions
See original GitHub issueI am trying to mash up a simple subscriptions server stitching several different schemas
For reference: https://www.apollographql.com/docs/graphql-tools/generate-schema.html#modularizing https://github.com/apollographql/graphql-tools/blob/master/docs/source/schema-stitching.md#adding-resolvers-between-schemas
It all works fine with regular queries and mutations and I get expected results. However subscriptions do not seem comply and after stitching together I get “Schema is not configured for subscriptions”
{
"data": null,
"error": [
{
"message": "Schema is not configured for subscriptions.",
"locations": [
{
"line": 1,
"column": 1
}
]
}
]
}
Not sure if this is graphql-yoga or graphql-tools related…?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Error: Schema is not configured for subscriptions ... - GitHub
This happens when the schema has no subscription enabled, but you have subscription statements in your src/graphql folder. This could happen ...
Read more >Schema is not configured for mutations - Stack Overflow
I got my error, It is a typo : Instead of write mutation inside Schema constructor, i wrote mutiation . const schema =...
Read more >Subscriptions in Apollo Server - Apollo GraphQL Docs
Subscriptions are not supported by Apollo Server 4's startStandaloneServer function. To enable subscriptions, you must first swap to using the expressMiddleware ...
Read more >leangen/graphql-spqr - Gitter
I want to implement graphql subscriptions, but I am getting Schema is not configured for subscriptions. Is this a graphql-spqr error.
Read more >Error: Schema is not configured for subscriptions - Bountysource
Describe the bug. I am not able to get API.swift generated/updated when setting custom model operation names with 'null' subscriptions ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks, this is graphql-tools related. Not sure merging subscriptions is possible at the moment
Today I played a little with different ways of schema merging, I looked at the merge-graphql-schemas packaged but I could not get it to work well with graphql-yoga. So I went back to graphql-tools again, I upgraded the package and it looks like the latest version is working fine