apollo-server-integrations / apollo-server-integration-hapi

MIT License
3 stars 3 forks source link

PubSub integration #55

Closed fernandorossato closed 1 year ago

fernandorossato commented 1 year ago

Is there any way to run PubSub together with Hapi?

arimus commented 1 year ago

We don't currently wire up all the bits for you in this library, but these should get you started:

https://the-guild.dev/graphql/ws/recipes#ws-server-usage-with-apollo-server-hapijs https://www.apollographql.com/docs/apollo-server/data/subscriptions/

If you get things going, share the code if you can :)

arimus commented 1 year ago

Closing this issue, but feel free to add anything you discover / code examples to this thread. It's possible to get things merged in if you create a pull request or get some functional code I can work from. It would be a useful addition.