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

Ability to add custom fallback site alias resolvers #66

Open
bomoko opened this issue Sep 4, 2023 · 0 comments · May be fixed by #69
Open

Ability to add custom fallback site alias resolvers #66

bomoko opened this issue Sep 4, 2023 · 0 comments · May be fixed by #69

Comments

@bomoko
Copy link

bomoko commented Sep 4, 2023

Following from the discussion here drush-ops/drush#5273 (and, sorry it has taken me so long to get to this) - it would be really useful for the site-alias manager to support fallback resolution via events.

The suggestion is that we allow client code to register events with the SAM and if an alias cannot be resolved, we give the client the option of resolving it for themselves.

In the attached POC I've used the Symfony EventDispatcher component to achieve this - but am quite keen to get design/code guidance on this to get something like this into the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant