Add creatuity/magento2-interceptors as a bundled extension #206
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I propose adding Creatuity_Interception as a bundled module with the upcoming Mage-OS 1.1.0. https://github.com/creatuity/magento2-interceptors
Implications
compiled_plugins
cache type to be enabled or disabled on sites (optional opt-in)Risks
pluginname
and another haspluginName
on the same class, only one will be compiled and executed). I've never seen this situation arise, and would argue it's bad practice in the first place.Benefits
PR
This PR results in the module being added as a pinned require of
mage-os/product-community-edition
like:which composer will then require via packagist, like any other third party package (Monolog, Laminas, Symphony, ...).