Skip to content

Add support for Value Expressions #4635

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

Closed
wants to merge 3 commits into from
Closed

Add support for Value Expressions #4635

wants to merge 3 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Feb 12, 2024

Closes #4634

@mp911de mp911de added the type: enhancement A general enhancement label Feb 12, 2024
@mp911de mp911de added this to the 4.3 M1 (2024.0.0) milestone Feb 12, 2024
@@ -67,7 +67,7 @@ public ParameterBindingContext(ValueProvider valueProvider, ExpressionParser exp
* @param expressionEvaluator
* @since 3.1
*/
public ParameterBindingContext(ValueProvider valueProvider, SpELExpressionEvaluator expressionEvaluator) {
public ParameterBindingContext(ValueProvider valueProvider, ValueExpressionEvaluator expressionEvaluator) {
Copy link
Member

Choose a reason for hiding this comment

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

can we deprecate the current public method and delegate with limited functionality?

@Deprecated(since = "3.3")
public ParameterBindingContext(ValueProvider valueProvider, SpELExpressionEvaluator expressionEvaluator) {
	this(valueProvider, (ValueExpressionEvaluator) expressionEvaluator::evaluate);
}

public ParameterBindingContext(ValueProvider valueProvider, ValueExpressionEvaluator expressionEvaluator) {
...

Add deprecations, refine nullability arrangements.
christophstrobl pushed a commit that referenced this pull request Feb 13, 2024
Closes: #4634
Original Pull Request: #4635
christophstrobl pushed a commit that referenced this pull request Feb 13, 2024
Add deprecations, refine nullability arrangements.

Original Pull Request: #4635
christophstrobl added a commit that referenced this pull request Feb 13, 2024
Reduce method visibility, Remove unused variable.
Add test and move off deprecated code in test.

Original Pull Request: #4635
@christophstrobl christophstrobl deleted the issue/4634 branch February 13, 2024 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for ValueExpression
2 participants