Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix expression not get updated issue #2254

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

GDLMadushanka
Copy link
Contributor

Fix expression does not get evaluated again when values change.

Fix expression not get evaluated again when values change.
@GDLMadushanka GDLMadushanka merged commit b85caa5 into wso2:master Dec 6, 2024
1 of 2 checks passed
@@ -90,6 +92,8 @@ public Set<Option> options() {

@Override
public ExpressionResult evaluate(EvaluationContext context, boolean isObjectValue) throws EvaluationException {
// Take a copy of the expression to avoid modifying the original expression
expression = unProcessedExpression;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we rename unProcessedExpression as expression and expression as localExpression/clonedExpression/currentExpression?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants