Hi guys, great project ! I was wondering if it could be possible to add support for external PubSub Engine more suitable fro production than In Memory, like apollo did with their package I started working on one but I'm still new to golang and it will take me some time to have a good working code for a PR. I started with Postgres with listen/notify and go routines). I know some people started working on graph-gophers/graphql-go subscription with that idea in mind like @matiasanaya with his PR or @mikeifomin with his repo.
The api apollo exposes (resolver functions that return asyncIterators) is functionally equivalent to the one gqlgen uses (resolver functions that return channels).
The pubsub engine isn't specified at all by gqlgen, its up to you to bring your own. Use whatever makes sense for your stack.
Most helpful comment
The api apollo exposes (resolver functions that return asyncIterators) is functionally equivalent to the one gqlgen uses (resolver functions that return channels).
The pubsub engine isn't specified at all by gqlgen, its up to you to bring your own. Use whatever makes sense for your stack.