Hi, Actually, we have created a wrapper to avoid changes done internal implementation (such as changes in libraries) in future, not to affect already existing BPMN processes. That's why we have limited result object types. otherwise, we can return any object type.
Thanks, Milinda On Mon, Jan 22, 2018 at 12:36 PM, Waruna Jayaweera <[email protected]> wrote: > Hi, > Do we need to filter the data type here. If result is not a Map or List > Can we return the result as it is? > > Thanks, > Waruna > > On Mon, Jan 22, 2018 at 12:18 PM, Vinod Kavinda <[email protected]> wrote: > >> Hi All, >> I'm working on fixing the issue [1]. The reason for the issue is we have >> not considered the *null *in the code line [2]. According to the JSON >> spec [3], null also treated he same way like other primitive types. >> >> Any particular reason for not to add *null?* >> Shall we add the null also in the line [2] ? >> >> [1] - https://github.com/wso2/product-ei/issues/1406 >> [2] - https://github.com/wso2/carbon-business-process/blob/maste >> r/components/bpmn/org.wso2.carbon.bpmn/src/main/java/org/ >> wso2/carbon/bpmn/core/types/datatypes/json/api/JsonNodeObject.java#L77 >> [3] - http://www.json.org/ >> >> Regards, >> Vinod >> >> -- >> Vinod Kavinda >> Senior Software Engineer >> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.* >> Mobile : +94 (0) 712 415544 >> Blog : http://soatechflicks.blogspot.com/ >> [image: http://wso2.com/signature] >> <http://wso2.com/signature> >> >> > > > -- > Regards, > > Waruna Lakshitha Jayaweera > Senior Software Engineer > WSO2 Inc; http://wso2.com > phone: +94713255198 <+94%2071%20325%205198> > http://waruapz.blogspot.com/ > > -- Milinda Perera Senior Software Engineer; WSO2 Inc. http://wso2.com , Mobile: (+94) 714 115 032
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
