Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

✨ (Added events to reindex command.) #280

Merged
merged 1 commit into from
May 22, 2020
Merged

✨ (Added events to reindex command.) #280

merged 1 commit into from
May 22, 2020

Conversation

DavidLambauer
Copy link
Contributor

Hi,

unfortunately, the whole reindexing logic lives inside of private or protected methods which makes it impossible to customize or extend it. To not be forced to overwrite the whole thing, I added two events that are triggered before and after the full reindex process.

This would also solve our issue in Issue 266.

I made the additional dependency a proxy, to make sure there are no issues regarding the performance or future maintainability.

@afirlejczyk
Copy link
Contributor

This command should be refactored, logic should be moved - I plan to this sometime in the future.

@afirlejczyk afirlejczyk reopened this May 22, 2020
@afirlejczyk afirlejczyk merged commit 8451a85 into vuestorefront:master May 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants