camunda / feel-scala

FEEL parser and interpreter written in Scala
https://camunda.github.io/feel-scala/
Apache License 2.0
119 stars 46 forks source link

fix: Variable resolution for custom context #786

Closed saig0 closed 6 months ago

saig0 commented 6 months ago

Description

Fix the variable resolution if the variables are provided by a custom context.

Currently, the local variables within a list filter or a context literal are overridden by variables from the custom context.

Related issues

closes #765 closes #774

github-actions[bot] commented 6 months ago

Backport failed for 1.16, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 1.16
git worktree add -d .worktree/backport-786-to-1.16 origin/1.16
cd .worktree/backport-786-to-1.16
git switch --create backport-786-to-1.16
git cherry-pick -x a61f15e28b3cdaa960b0ad2f0b9b5445dd34e912 626aa4d826913d4305d24b42c10a90308a723482 689134920c7d03af9da40aa47f194170da8bb14a 6197f133ced8ef7ac8359858ca62c1cc774d5936 10e529ee764c67e65dbde481a6e17773412cbb11 95240cd952a3fb2bcba83140625cec861a753e8f
github-actions[bot] commented 6 months ago

Successfully created backport PR for 1.17: