-
Notifications
You must be signed in to change notification settings - Fork 185
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
Step 8 - Where are the rx... methods? #19
Comments
Okay, so it's produced by the code gen plugin. I don't recall that being mentioned in the guide and it's very confusing. Perhaps it would be possible to elaborate, such as how it knows to prefix the methods with rx and what the role of the |
this is explained in the rx documentation, the doc should indeed elaborate about it and point to the rx doc |
The only mention of code generation in the Rx documentation is that the Vert.x rxified API is code generated. It doesn't explain that this is how rx service proxies should be produced, why the This is the sort of thing I personally consider as an essential explanation in a guide, picking up where package documentation leaves off. Up until step-8, it's spot on and very good at explaining what is going on and how different elements of the Vert.x ecosystem interoperates, then it just kind of drops off. I know all of these things take time, and I'm very grateful for the hard work that has been put into this guide so far. |
Adding
|
Actually I was wrong, I'm getting the error above in step 8 regardless of the classifier setting. If I'm running
everything seems fine. If I'm running it again, the test phase fails. Basically, it fails every second time I run the above, this happens because There are three fixes:
To me, 2. seems best because it leads to the expected behavior on |
In Step 8, introducing RxJava the code examples refer to various methods such as
rxDeletePage(id)
, yet there are no methods beginning with rx in theWikiDatabaseService
verticle.The
Impl
class has rxified the method contents, but then the signatures don't match with what is being called inHttpServerVerticle
and I get errors to that extent (namely, complaints at the lack of result handler).There is also reference to
io.vertx.guides.wiki.database.rxjava.WikDatabaseService
as the return type ofcreateProxy()
, yet this package does not exist in the example.Have I missed something here? Or could you provide some clarification? Are there any plans to update this to RxJava2?
The text was updated successfully, but these errors were encountered: