-
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
Add support for mutiny types in reactive routes #10379
Add support for mutiny types in reactive routes #10379
Conversation
@@ -496,25 +473,74 @@ void implementInvoke(BeanInfo bean, MethodInfo method, ClassCreator invokerCreat | |||
|
|||
ResultHandle paramHandle; | |||
MethodDescriptor methodDescriptor; | |||
String returnType = descriptor.getReturnType().name().toString(); | |||
|
|||
// TODO Make Routing Context optional, allow injected Response and Request individually. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 if a method returns something we should make the context param optional...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've created #10397
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Except for the inconsistency when returning Multi<String>
as described here: #10379 (comment). I don't see a good reason for this behavior.
However, if there are any strong arguments feel free to dismiss my review...
JDK 14 failure is unrelated. The |
Add support for Uni, Multi, and SSE to reactive routes.