GH-794 Address regression with input type conversion of Maps

Resolves #794
This commit is contained in:
Oleg Zhurakousky
2022-01-26 12:48:51 +01:00
parent c6bc4f553f
commit 536d3d6e80
2 changed files with 15 additions and 2 deletions

View File

@@ -1060,7 +1060,7 @@ public class SimpleFunctionRegistry implements FunctionRegistry {
}
}
else {
convertedInput = this.convertNonMessageInputIfNecessary(type, input, JsonMapper.isJsonString(input) || input instanceof Map);
convertedInput = this.convertNonMessageInputIfNecessary(type, input, JsonMapper.isJsonString(input));
if (convertedInput != null && logger.isDebugEnabled()) {
logger.debug("Converted input: " + input + " to: " + convertedInput);
}