kusalk commented on PR #1175:
URL: https://github.com/apache/struts/pull/1175#issuecomment-2599642327
How about the following - both parameters are injected as `null` even though
one exists. Is that expected? I guess my concern here is that unintuitive
behaviour here could lead to bugs being introduced in the future
```
@Inject(required = false)
public ConstructorCheck(@Inject(value = "constructorCheck.name") String
name, @Inject(value = "nonExistingConstant") String name2) {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]