Claus Ibsen created CAMEL-25473:
-----------------------------------

             Summary: camel-dataweave - DataWeave 2 lambda syntax and infix 
operator precedence
                 Key: CAMEL-25473
                 URL: https://issues.apache.org/jira/browse/CAMEL-25473
             Project: Camel
          Issue Type: Sub-task
            Reporter: Claus Ibsen


Support (x) -> e and (x, i) -> e without outer parentheses, lambdas as function 
arguments and in var, fun default parameters, and full right-hand expressions 
for infix functions. Treat map/filter/reduce/orderBy/groupBy/distinctBy/flatMap 
and the string infix functions (contains, startsWith, splitBy, joinBy, replace) 
as binary operators at DataWeave precedence, so payload filter $.qty > 1 and 
payload map $ + 1 work.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to