feathers-apollo icon indicating copy to clipboard operation
feathers-apollo copied to clipboard

apollo subscription

Open veeramarni opened this issue 8 years ago • 4 comments

Have you played with graphql-subscriptions?

https://dev-blog.apollodata.com/graphql-subscriptions-in-apollo-client-9a2457f015fb#.pq8cy0x93

veeramarni avatar Jan 03 '17 23:01 veeramarni

I have not played with it yet, but it looks interesting. I am wondering if it would be possible to do this automatically by capturing the events from feathers hooks and sending them over a websocket. The default feathers has a very similar behavior with socket.io, but you do not have to configure it at all https://docs.feathersjs.com/real-time/socket-io.html

swarthout avatar Jan 04 '17 15:01 swarthout

@swarthout Any updates on that?

poupryc avatar Jan 09 '18 14:01 poupryc

I looked at the documentation for the feathers buzzard release and I saw that feathers has a channels abstraction for real-time events. I would like input on this as I update this project to the latest version of feathers and Apollo. It looks like feathers channels could work well with the Apollo graphql subscriptions

swarthout avatar Jan 09 '18 15:01 swarthout

it would just be unbelievable ! I don't know enough about the latest update to help you, sorry. I hope to hear from you soon !

poupryc avatar Jan 09 '18 16:01 poupryc