[
https://issues.apache.org/jira/browse/SLING-11917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus resolved SLING-11917.
-------------------------------------
Resolution: Fixed
Fixed in
https://github.com/apache/sling-org-apache-sling-models-impl/commit/e8ca8371c1fbf264f7051eb2e6e5ca1d09796652.
> Sling Models: Support parameter name evaluation in constructor injection
> ------------------------------------------------------------------------
>
> Key: SLING-11917
> URL: https://issues.apache.org/jira/browse/SLING-11917
> Project: Sling
> Issue Type: Improvement
> Reporter: Konrad Windszus
> Priority: Major
> Fix For: Models Implementation 1.7.0
>
>
> https://openjdk.org/jeps/118 introduced support of retrieving parameter names
> at run time through reflection. This should be leveraged in constructor
> injection in Sling Models to not be forced to use the {{@Named}} annotation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)