-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
The javadoc of return types for each methods in redis client ValueCommand.java and ReactiveValueCommands.java is inversed for some commands #32951
Comments
/cc @cescoffier (redis), @gsmet (redis) |
Can i take up this issue? |
Hey @pernelkanic yes please. You'll need to go through each of the methods in the above mentioned interfaces and check if the javadoc is up to accurate for the return type. If not, it'll need to be updated; so it's not only for the cited methods but all the methods in the two interfaces. Let us know if you'll need any help. |
Hey @machi1990 I didn't got Second issue you have regarding "ReactiveValueCommands.java" . Means we have to make changes in the documentation, as which ever method, returns a "Uni" value should be documented as it returns a "Uni" value in the documentation. Right? this is what your issue is with the documentation of "ReactiveValueCommands.java" File? |
Hey @Troll-of-Jom that's correct. |
@machi1990 |
So do I have to make changes in the second file documentation "ReactiveValueCommands.java" or not? I am a bit confused. |
There is no need to document what is a Uni datatype. Reactive users are already (or expected to already) be familiar with it;
Thanks for the interest in contributing. Please note that, @pernelkanic already expressed interest in progressing this issue. You'll need to look for another issue or wait until @pernelkanic does get back or explicitely wants the issue unassigned |
Ok. Will check out what is Uni. |
I replaced correct return type with methods that needs to be changed. Please review the changes. |
Description
Uni<Type>
but they are documented as if they return a Uni. Examplequarkus/extensions/redis-client/runtime/src/main/java/io/quarkus/redis/datasource/value/ValueCommands.java
Line 222 in bd15a0b
Uni<Type>
but they are documented as if they do not return a Uni. For examplequarkus/extensions/redis-client/runtime/src/main/java/io/quarkus/redis/datasource/value/ReactiveTransactionalValueCommands.java
Line 288 in bd15a0b
This can be confusing to the user and it'll be good to update the javadoc for each of the methods that have a wrong return type documented.
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: