-
Notifications
You must be signed in to change notification settings - Fork 685
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
W-17475148: Simple type params handler not handling certain expression param values #14113
Conversation
elrodro83
commented
Jan 2, 2025
- Addendum
param values * Addendum
protected boolean isExpressionValue(CreateParamBeanDefinitionRequest request) { | ||
return request.getParam().getValue().isLeft(); | ||
return request.getParam().getValue().isLeft() | ||
|| isContent(request.getParam().getModel()); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is something that I don't understand here. The method name is isExpressionValue
and we are changing it so that static values are also considered as expressions if the parameter is a content parameter?
Maybe I'm getting it wrong, but from the test it looks like it.
Are we sure this is the right place to add the "if"? or at least maybe we need a good comment here.
SonarQube Quality Gate |
…n param values (#14113) * Addendum
…n param values (#14113) * Addendum
…n param values (#14113) * Addendum
param values (#14113) * Addendum