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
Bug with Reakt Promise and WebSocket call.
This bug was masked when testing serviceBundle and websocket proxy in the same unit test.
Now we pulled this out so it is just a WebSocket proxy test.
BoonClient (used for websocket RPC proxy creation) was not handling the Promise case.
A few things I noticed about BoonClient while I was in there.
It always expects the callback to be the first argument.
(Callback probably should be the last but we have to maintain backwards compatibility, but we should fix this or document it.)
Now it handles promise returns fine.
The second thing that I noticed is that we only handle List/Collections not maps which is probably ok, but again should be changed or documented.
The third thing I noticed was that it uses ParameterizedType which works fine for Java and Scala but does not handle WildCar type which if I remember correctly Kotlin needs.
The text was updated successfully, but these errors were encountered:
Bug with Reakt Promise and WebSocket call.
This bug was masked when testing serviceBundle and websocket proxy in the same unit test.
Now we pulled this out so it is just a WebSocket proxy test.
BoonClient (used for websocket RPC proxy creation) was not handling the Promise case.
A few things I noticed about
BoonClient
while I was in there.It always expects the callback to be the first argument.
(Callback probably should be the last but we have to maintain backwards compatibility, but we should fix this or document it.)
Now it handles promise returns fine.
The second thing that I noticed is that we only handle List/Collections not maps which is probably ok, but again should be changed or documented.
The third thing I noticed was that it uses ParameterizedType which works fine for Java and Scala but does not handle WildCar type which if I remember correctly Kotlin needs.
The text was updated successfully, but these errors were encountered: