[
https://issues.apache.org/jira/browse/CAMEL-25473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18125334#comment-18125334
]
Claus Ibsen commented on CAMEL-25473:
-------------------------------------
Fixed via https://github.com/apache/camel/pull/27585 (merged to main for
4.23.0).
_Claude Code on behalf of davsclaus_
> 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
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.23.0
>
>
> 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)