Temporary fix to FunctionType to properly determine the actual parameterized types
This commit is contained in:
@@ -105,6 +105,9 @@ public class FunctionType {
|
||||
}
|
||||
|
||||
public static FunctionType of(Type function) {
|
||||
if (function instanceof Class) {
|
||||
function = ((Class)function).getGenericInterfaces()[0];
|
||||
}
|
||||
return new FunctionType(function);
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ public class LazyFunctionRegistryMultiInOutTests {
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
@Test
|
||||
@Ignore
|
||||
// @Ignore
|
||||
public void testMultiInputBiFunction() {
|
||||
FunctionCatalog catalog = this.configureCatalog();
|
||||
BiFunction<Flux<String>, Flux<Integer>, Flux<String>> multiInputFunction =
|
||||
|
||||
Reference in New Issue
Block a user