Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add missing subcribe when rebuildOutput, solve subcription megreSchema problem #1141

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GavinXue
Copy link

There is a "Subscription field must return Async Iterable. Received: undefined" problem when merge Subcription type. It can reproduce here: https://stackblitz.com/edit/graphql-xtfnno?file=index.mjs

I found that the mergeSchema's step rebuildOutputDefinition doesn't return subscribe, so it the subscribe will replaced by undefined. this commit add subscribe to return.

Hope it helpful.

@JWambaugh
Copy link

Can we get this merged? I've been slamming my head against this bug all day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants