How to modify subscription arguments after a retry #643
-
Hi, And all of this works fine, but I am struggling to add in that after a client is terminated and an internet connection is re-established that the new socket connection subscription arguments should include additional arguments so that the server knows to send previous messages from x seconds ago.
And I tried putting a this.client.subscribe with the new values in the on.connected() if the connection was abruptly closed but those values get sent to the socket that gets terminated and then a new one is re-established with the previous arguments :( Any ideas would be greatly appreciated, I am stuck using apollo v2 otherwise I assume context/extensions could be handled at the component level instead and passed as arguments from the hook of me mangling the client :(( |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Oh I found the answer that it is not possible #541 |
Beta Was this translation helpful? Give feedback.
Oh I found the answer that it is not possible #541
sorry for opening something that was already answered