-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RxGroovy for RxJava 1.1.X #13
Comments
Continuing a thread from ReactiveX/RxJava#3998 @akarnokd - do you need someone to help maintain this? While parallel releases are obviously possible, it is a lot nicer when everything is clean. Espeically given the usage of these in upstream projects like Vertx -- it will be difficult, if not impossible for me to convince that project to use a forked release for their dependencies. Anyway, just a thought. A quick review/build of the code seems to show that is "just works", though there is a bit about a custom create signature that might be able to be removed at this point (though I don't think there is any harm in keeping it). |
FWIW, since Groovy 2.2.x most of what is done with this library isn't needed anymore (at least AFAICT). Groovy supports implicit coversion of closures to SAM types and that works transparently with all cases here except for |
I don't know Groovy much so can't really help with coding in this project. I assume bumping to RxJava 1.1.5 is a straightforward diff though. |
I don't profess to be a Groovy internals expert, but I know enough to be dangerous. This code basically uses Groovy meta-programming to dynamically override specific methods so it can convert Groovy closures into the various functional interfaces used in RxJava. I think there are 2 approaches here. The first is to do as you suggest and just bump the RxJava dependency to You can remove this by narrowing the cases where you override the methods. On Groovy 2.4.x (and I think earlier versions as well) the only case that isn't handled properly is the conversion from a closure to the interface Let me know which you prefer and I'll create the appropriate PR (though as you point out, the PR for the former will be a 1 line change in |
Are there plans to release RxGroovy for 1.1.0/1.1.1 ?
It's is currently stuck at 1.0.15 from October 15.
The text was updated successfully, but these errors were encountered: