Skip to content
Discussion options

You must be logged in to vote

That sounds like you would want to do a mutation. Subscriptions are more meant for subscribing to events instead of updating stuff. That's what mutations are for, as you are probably mutateing state.

Websockets are just the transport of this protocol, so you can do all available operation types (subscription, mutations, and queries) via that transport.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@justtonytone
Comment options

Answer selected by justtonytone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants