enapps-enorman commented on pull request #23: URL: https://github.com/apache/sling-org-apache-sling-jcr-repoinit/pull/23#issuecomment-1073285956
I'm not necessarily opposed to this, but perhaps it would be more useful to introduce a generalized solution to alter behavior in production vs development. For example, the JavaServerFaces framework has a [ProjectStage](https://docs.oracle.com/cd/E17802_01/j2ee/javaee/javaserverfaces/2.0/docs/api/javax/faces/application/ProjectStage.html) concept that can be checked at runtime to alter behaviors. Sling could do something similar with a configurable ProjectStage service that could be referenced wherever this kind of decision is required. -- 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]
