module-indexer-deploy-config icon indicating copy to clipboard operation
module-indexer-deploy-config copied to clipboard

Allow Forceful Mode Restrictions

Open pykettk opened this issue 7 months ago • 1 comments
trafficstars

Description

Allows developers to forcefully prevent indexers being locked to specific modes via di.xml configuration and extends the deployment configuration validation to enforce these rules.

Discussion Points

  1. Is flagging the deployment configuration as invalid over-aggresssive?
  2. Should we take it a step further and enforce these rules in the SetIndexerMode plugin too?
    • I'm not sure about this, personally. I feel like locking the mode outside of the deployment configuration file(s) defeats the purpose of this module.

Closes #11

pykettk avatar Mar 26 '25 22:03 pykettk

  1. No, since we're adhering to Adobe's best practices concerning this.
  2. No, the possibility to set (and override) should still be available.

peterjaap avatar Mar 27 '25 07:03 peterjaap