GH-744 Add initial biStreaming support for Function<Flux, Flux> in gRPC module
This commit is contained in:
@@ -775,7 +775,7 @@ public class SimpleFunctionRegistry implements FunctionRegistry, FunctionInspect
|
||||
input = FunctionTypeUtils.isMono(this.inputType) ? Mono.just(input) : Flux.just(input);
|
||||
}
|
||||
}
|
||||
else if (input instanceof Iterable && !FunctionTypeUtils.isTypeCollection(this.inputType)) {
|
||||
else if (!(input instanceof Publisher) && input instanceof Iterable && !FunctionTypeUtils.isTypeCollection(this.inputType)) {
|
||||
input = Flux.fromIterable((Iterable) input);
|
||||
}
|
||||
return input;
|
||||
|
||||
Reference in New Issue
Block a user