You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reevaluate WebSocket Subscription Input Payload on Reconnection #1574
I'm setting up a WS subscription was hoping that when the trpcWsClient reconnects it would re-evaluate the subscription payload, however this is not the case.
- Requirement
Create trpc subscripion with { sessionId: null }
Server returns { data: { sessionId: 'abc123' } } to the client
Trpc connection dies due to bad network connection
Trpc reconnects & restablishes subscription with { sessionId: 'abc123' }
Activity
feat: ✨ subscription optionally accepts input payload as function and…
jlalmes commentedon Mar 1, 2022
PR opened here: #1584
github-actions commentedon Oct 4, 2022
This issue has been locked because it had no new activity for 14 days. If you are running into a similar issue, please create a new issue. Thank you.