You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/10/09 05:34:00 UTC
[jira] [Resolved] (CAMEL-25473) camel-dataweave - DataWeave 2 lambda syntax and infix operator precedence
[ https://issues.apache.org/jira/browse/CAMEL-25473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-25473.
---------------------------------
Resolution: Fixed
> 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)