Use case of GraphQL Subscriptions

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Use case of GraphQL Subscriptions



I am learning about implementing GraphQL API in Rails app using graphql-ruby gem. I am not clear about the use-case of GraphQL Subscriptions.


graphql-ruby



I don't clearly understand the difference between GraphQL Subscriptions and ActionCable.



Let's say I have a mobile app which gets data from GraphQL API.



Will I be able to use ActionCable directly to publish the changes to mobile clients? If yes, then why should I go with GraphQL subscriptions?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard