prisma-labs/graphqlgen

Subscriptions aren't generated correctly

Closed this issue · 1 comments

Currently, the types graphqlgen generates for subscriptions isn't correct. I.e resolvers should be objects with a subscribe method which return an AsyncIterator.

Are there plans to fix this?

Closing in favor of #56. Would be great if someone wants to submit a PR for this once #244 has landed. 🙏