-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Execute async controller methods without Reactor #10212
Conversation
Kudos, SonarCloud Quality Gate passed! |
@@ -38,8 +38,8 @@ public interface CompletableFutureExecutionFlow<T> extends ExecutionFlow<T> { | |||
* @return a new flow | |||
*/ | |||
@NonNull | |||
static <K> ExecutionFlow<K> just(@NonNull CompletableFuture<K> value) { |
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 hope this method isn't used outside core because this is a binary incompatible change. it's probably fine because this is Internal but it might be another servlet situation
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.
Ahh right, will see
private CompletionStage<MutableHttpResponse<?>> fromCompletionStage(@NonNull HttpRequest<?> request, | ||
@NonNull Object body, | ||
@NonNull RouteInfo<?> routeInfo) { | ||
CompletionStage<Object> completionStage = (CompletionStage<Object>) body; |
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.
could be null i think
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.
Nulls are handled before
No description provided.