[ 
https://issues.apache.org/jira/browse/SLING-11711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18033883#comment-18033883
 ] 

Konrad Windszus commented on SLING-11711:
-----------------------------------------

[~joerghoh] `@Inject` is still the only way to achieve constructor injection. I 
think this should be clarified in the deprecation section.

> Deprecate the use of @Inject in favor of injector-specific annotations
> ----------------------------------------------------------------------
>
>                 Key: SLING-11711
>                 URL: https://issues.apache.org/jira/browse/SLING-11711
>             Project: Sling
>          Issue Type: Improvement
>          Components: Documentation, Sling Models
>            Reporter: Joerg Hoh
>            Assignee: Joerg Hoh
>            Priority: Major
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> The Sling Models documentation still uses {{@Inject}} in the examples at the 
> top of the page, even if it states further below, that the injector-specific 
> annotations should be used.
> We should reflect that throughout the documentation page, and move the 
> description of the (deprecated) support for {{@Inject}} into a small section 
> at the end of the page.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to