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

Support async topics #213

Closed
glentakahashi opened this issue Nov 25, 2019 · 3 comments · Fixed by #220
Closed

Support async topics #213

glentakahashi opened this issue Nov 25, 2019 · 3 comments · Fixed by #220

Comments

@glentakahashi
Copy link

It would be nice to support returning a promise of an AsyncIterator as the ResolverFn. This is also supported in graphql-js graphql/graphql-js#918

This would enable use cases like MichalLytek/type-graphql#470 where we could handle authorization at the topics/resolver level of a subscription, rather than within the filter.

@jan-wilhelm
Copy link

this is definitely needed. Why is this package no longer maintained?

@noxz-dev
Copy link

any news ?

@hwillson
Copy link
Member

#220 was merged and will be coming in release 3.0. Thanks!

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 a pull request may close this issue.

4 participants