graphql-subscriptions
graphql-subscriptions copied to clipboard
fix: `withFilter` types
Thank you for the release of the V3. Nonetheless, we encoutered issues while migrating to it with Apollo v4 and graphql-codegen.
Types exposed for withFilter function do not match its implementation:
-
TSourceof the filter function is the value returned by theasyncIterator - parameters are optionnal in types but required ligne 18. Is there a reason for this signature ?
@sevrai: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/
Hello @tninesling,
Could you please take a look of this issue? Migrating to 3.0 of in our stack is proving to be quite challenging.
Thank you in advance for your time.