Subscription errors get lost when merging schemas #793
Labels
feature
New addition or enhancement to existing solutions
has-reproduction
❤ Has a reproduction in a codesandbox or single minimal repository
I think this issue is since mergeSchemas was introduced,
when merging a schema that contains subscriptions the errors that are thrown from the reducers
are lost from the result
Intended outcome: subscription fields errors should be included after merging schemas as well
Actual outcome: errors are lost, for example
for the following subscription:
when not using mergeSchema this is the subscription result:
and when I am using mergeSchemas this is the subscription result
How to reproduce the issue:
I created a WebSocket server like
https://www.apollographql.com/docs/graphql-subscriptions/setup.html#subscription-server
and gave it the following schema:
https://gist.github.com/dh94/1dec5c54ecdb9c20e52985fff4ccaa6b#file-merged-schema-ts
packages version used:
The text was updated successfully, but these errors were encountered: