Action Cable Implementation

ActionCable is a great platform for delivering GraphQL subscriptions on Rails 5+. It handles message passing (via broadcast) and transport (via transmit over a websocket).

To get started, see examples in the API docs: GraphQL::Subscriptions::ActionCableSubscriptions.

See client usage for Apollo Client%20or%20%5BRelay%20Modern%5D(/javascript_client/relay_subscriptions).