these string constants are normally not used in application code, because they use the typed injector annotations. so this is more an implementation detail and there is no need to publish those constants as part of the API?
stefan >-----Original Message----- >From: Nicolas Peltier <[email protected]> >Sent: Monday, August 31, 2020 12:07 PM >To: Sling Developers List <[email protected]> >Subject: [models] declaring constants for injectors > >Hey > >all injectors have name declared as direct string constants in getName >implementations (script-bindings, child-resources, self, ...) >not entirely sure it's still best practice to use constants rather than >literals in annotation, but if it's still the case, i guess declaring & >exposing those literals in the API would make sense. > >Wdyt? > >Nicolas
