Hi All,

On Thu, Jul 21, 2016 at 8:31 PM, Chanaka Fernando <[email protected]> wrote:

> Hi Erandi,
>
> Appreciate your feedback on improving the DM. The existing compare
> operator checks for the equality (==) of the values passed into the
> operator. If you passed in 2 String values, it will check the equality of
> strings. If it is integer values, it will check for the equality of integer
> values.
>
Compare operator have 8 different operations. They are,

   - equal value (two inputs are equal or not)
   - equal value type (two inputs are equal in both value and type)
   - not equal value (two inputs are not equal or not)
   - not equal value type (two inputs are not equal in both value and type)
   - greater than
   - greater than or equal
   - lower than
   - lower than or equal


> Are you talking about adding ">" (greater than) and "<" (less than) as new
> operators?
>
> Basically, you can do this kind of operations with a custom function.
>
> Please correct me If I understood your suggestion in a different manner.
>
> On Thu, Jul 21, 2016 at 4:51 PM, Chathurika De Silva <[email protected]
> > wrote:
>
>> Hi
>>
>> Currently the data mapper compares (compare operator) String values for >
>> (greater than), < (less than). The native javascript too does the same
>> which is the underlining engine of data mapper.
>>
>> Since we are providing data mapper to the user to enhance conversion and
>> mapping, rather than a graphical UI for javascript itself, it would be
>> better if we should add UI (ESB tooling) validations for similar scenarios
>> as $subject.
>>
>
>> WDYT???
>>
>>
>> Best Regards
>> Erandi
>>
>> --
>> *Chathurika Erandi*
>> Senior Software Engineer,
>> WSO2 Inc.
>>
>> *E-mail:* [email protected]
>> *Mobile: *+94714 328 612
>> *Blog*: chathurikaerandi.blogspot.com
>>
>
>
>
> --
> Thank you and Best Regards,
> Chanaka Fernando
> Senior Technical Lead
> m: +94 773337238
> https://wso2.com <https://wso2.com/signature>
>
>
>
>
>
>
>


-- 
----------------------------------------------------------

*Nuwan Chamara Pallewela*


*Software Engineer*

*WSO2, Inc. *http://wso2.com
*lean . enterprise . middleware*

Email   *[email protected] <[email protected]>*
Mobile  *+94719079739@*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to