-
Is it possible to update an existing subscription's variables? I'm getting the issue where if my WebSocket connection terminates, and graphql-ws retries the connection, I need to continue the subscription with new variables (the variable is basically a timestamp for a cursor to determine what data gets pulled). If it's relevant, I'm using urql on top of graphql-ws... |
Beta Was this translation helpful? Give feedback.
Answered by
enisdenjo
Mar 15, 2024
Replies: 1 comment 2 replies
-
Is the only way for me to deal with this to drop the subscription and create a new one with updated variables? |
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
Actually yes. An alternative would be to do some JS trickery with getters.