[ https://issues.apache.org/jira/browse/SLING-3696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson closed SLING-3696. --------------------------------- > Allow a model class to be annotated so that by default injections are optional > ------------------------------------------------------------------------------ > > Key: SLING-3696 > URL: https://issues.apache.org/jira/browse/SLING-3696 > Project: Sling > Issue Type: Improvement > Components: Extensions > Reporter: Justin Edelson > Assignee: Justin Edelson > Labels: models > Fix For: Sling Models Implementation 1.0.6, Sling Models API 1.0.2 > > > By default, injections are required and individual injections can be declared > as optional. It should be possible to flip this - the default being optional > and individual injections can be required. -- This message was sent by Atlassian JIRA (v6.2#6252)