Replies: 1 comment 2 replies
-
I've never heard it done, but it looks like there are Ruby clients for those transports:
I'm not really sure what the next step would be for integrating those into your app, but hopefully they're helpful! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there!
We're trying to use GraphQL to send some data back-and-forth between our (Ruby on Rails, and some Elixir) servers.
Subscriptions seem to be the natural tool for this task, and a good replacement for webhook-based approaches that we used in the past.
And besides actually communicating between servers, being able to run both client and server in the same app also seems like a great approach to testing that the subscriptions we set up trigger correctly.
The documentation lists how to use three transports (ActionCable/websockets, Pusher and Ably) together with two JS libraries (Apollo and Relay).
What options exist from consuming a GraphQL subscription from within Ruby?
Beta Was this translation helpful? Give feedback.
All reactions