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 }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
RxJava Observables support for Spring REST plugin #1842
I've tried to implement custom message converter, but with no luck. Compilation fails after using parameterized type as a result (as shown above):
error: constructor Observable in class Observable<T> cannot be applied to given types;
required: OnSubscribe<String>
found: no arguments
reason: actual and formal argument lists differ in length
where T is a type-variable:
T extends Object declared in class Observable
This was already requested in #1816, however i mark that one as a duplicate as this issue is better scoped. I agree this would be a great addition to AA-REST, but currently i do not have time to implement this. Contributions are welcome, as always!
Hi,
I would like to ask if there are plans to add support for RxJava within
rest-springplugin, before I create new one.For now, if somebody's using Observables and annotation-generated @restservice, this code has to be constantly repeated:
It would be nice to return Observable from Rest interface, like this:
I've tried to implement custom message converter, but with no luck. Compilation fails after using parameterized type as a result (as shown above):
Looking forward to hearing from you.