Closed glentakahashi closed 2 years ago
It would be nice to support returning a promise of an AsyncIterator as the ResolverFn. This is also supported in graphql-js https://github.com/graphql/graphql-js/pull/918
This would enable use cases like https://github.com/MichalLytek/type-graphql/issues/470 where we could handle authorization at the topics/resolver level of a subscription, rather than within the filter.
this is definitely needed. Why is this package no longer maintained?
any news ?
It would be nice to support returning a promise of an AsyncIterator as the ResolverFn. This is also supported in graphql-js https://github.com/graphql/graphql-js/pull/918
This would enable use cases like https://github.com/MichalLytek/type-graphql/issues/470 where we could handle authorization at the topics/resolver level of a subscription, rather than within the filter.