gitgabrio commented on code in PR #6538:
URL: 
https://github.com/apache/incubator-kie-drools/pull/6538#discussion_r2588687672


##########
kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/util/CoerceUtil.java:
##########
@@ -48,6 +49,11 @@ static Object actualCoerceValue(DMNType requiredType, Object 
valueToCoerce) {
             // and vice-versa
             return ((Collection) valueToCoerce).toArray()[0];
         }
+        if (requiredType.isCollection() && !(valueToCoerce instanceof 
Collection) &&
+                (!(requiredType instanceof SimpleTypeImpl simpleType)

Review Comment:
   Hi @AthiraHari77 
   IIUC, it seems we can't have collections of SimpleType: why it is that ? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to