Skip to content

Introduce ProductConfigurationInterface to allow extension#78

Open
adrienlucas wants to merge 1 commit intosynolia:mainfrom
adrienlucas:add-product-configuration-interface
Open

Introduce ProductConfigurationInterface to allow extension#78
adrienlucas wants to merge 1 commit intosynolia:mainfrom
adrienlucas:add-product-configuration-interface

Conversation

@adrienlucas
Copy link
Copy Markdown
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