You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without renaming, the schema stitching works totally.
After renaming, it works fine in case of queries and mutations but throws an error in case of subscriptions.
The error message reads "Cannot return null for non-nullable field subscription_root.user".
Some details:
Subscription root of the remote server: subscription_root
So we are trying to perform schema-stitching with schema transforms to prefix schema types and root-fields. This is how we do it:
Without renaming, the schema stitching works totally.
After renaming, it works fine in case of queries and mutations but throws an error in case of subscriptions.
The error message reads "Cannot return null for non-nullable field subscription_root.user".
Some details:
subscription_root
Subscription
user
images
hasura_user
,hasura_images
You can clone this repo and run
npm install && npm start
from the root to see this error in action.https://github.com/wawhal/custom-resolvers-boilerplate
The text was updated successfully, but these errors were encountered: