Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce ProductConfigurationInterface to allow extension #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adrienlucas
Copy link
Contributor

Q A
Bug fix? no
New feature? no
BC breaks? no
Fixed issue N.A.

This introduces a new extension point. The issue was that the ProductChannelEnabler was hard coupled to the ProductConfigurationRepository (which is final), making it impossible to use the EnableDisableProductsTask without mocking the repository.
The refactoring is extended to any class using the ProductConfiguration repository (even in a non-hard coupling way) to remain consistent.

WDYT ?

@adrienlucas adrienlucas force-pushed the add-product-configuration-interface branch from 5b33afc to a091709 Compare August 23, 2021 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant