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
@HttpExchange annotated methods works as expected for simple return types, but not for generic types. For example a function expected to return List, but HttpServiceProxy resolves it as String.
expected: ParameterizedTypeReference<java.util.List<? extends java.lang.String>>
but was: ParameterizedTypeReference<class java.lang.String>
When you change function signature as fun body(): Mono<List<String>> it returns ParameterizedTypeReference<java.util.List<java.lang.String>> as expected.
As far as i see, Only "suspending methods" affected by it. Flows works as expected.
The text was updated successfully, but these errors were encountered:
Affects: 6.0.7
@HttpExchange annotated methods works as expected for simple return types, but not for generic types. For example a function expected to return List, but HttpServiceProxy resolves it as String.
Here is a test case :
Result:
When you change function signature as
fun body(): Mono<List<String>>
it returnsParameterizedTypeReference<java.util.List<java.lang.String>>
as expected.As far as i see, Only "suspending methods" affected by it. Flows works as expected.
The text was updated successfully, but these errors were encountered: