Closed elisalimli closed 3 years ago
How did you solve this @alisalim17 - I'm running into the same issue trying to use an async function for the first parameter of withFilter
Found a solution in another issue!
https://github.com/apollographql/graphql-subscriptions/issues/161#issuecomment-408150940
and here's another one: https://github.com/apollographql/graphql-subscriptions/issues/90#issuecomment-727697505
Error:
TypeError: asyncIterator.return is not a function
import { withFilter } from "graphql-subscriptions"
I'm using also type-graphql
My code