Skip to content

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
* @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

3 participants