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
Is your feature request related to a problem? Please describe.
It's not a pleasant experience having to work with Map for the WebSocket payload, especially if the user already know what to expect.
Describe the solution you'd like
2 approach:
Allow user to specify what type they are expecting which might require a breaking change
Extends Map with functionalities to be parsed to other types
The text was updated successfully, but these errors were encountered:
I am not particularly a big fan of the above, as I feel if I were to do the first, I need to somewhat rewrite the WebSocket client so that it doesn't have to re-parse the payload for each websocket operation, maybe that advantage of the websocket guard to compute the payload object.
I think the best way is to implement the Map.into(_) first and later see if I can do the first without adding breaking changes
Is your feature request related to a problem? Please describe.
It's not a pleasant experience having to work with
Map
for the WebSocket payload, especially if the user already know what to expect.Describe the solution you'd like
2 approach:
Map
with functionalities to be parsed to other typesThe text was updated successfully, but these errors were encountered: