GH-980 Ensure reactive types are supported by AWS adapter

Resolves #980
This commit is contained in:
Oleg Zhurakousky
2023-01-23 13:00:37 +01:00
parent 8ced463176
commit b3fd3c8bb0
2 changed files with 20 additions and 7 deletions

View File

@@ -56,7 +56,7 @@ public final class AWSLambdaUtils {
}
static boolean isSupportedAWSType(Type inputType) {
if (FunctionTypeUtils.isMessage(inputType)) {
if (FunctionTypeUtils.isMessage(inputType) || FunctionTypeUtils.isPublisher(inputType)) {
inputType = FunctionTypeUtils.getImmediateGenericType(inputType, 0);
}
String typeName = inputType.getTypeName();