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

Deregister definitions from factory #489

Open
bynelus opened this issue Apr 6, 2016 · 1 comment
Open

Deregister definitions from factory #489

bynelus opened this issue Apr 6, 2016 · 1 comment

Comments

@bynelus
Copy link

bynelus commented Apr 6, 2016

Hi, I'm using Typhoon for almost two years already and I'm still very happy with it. We use the default component factory to register all our modules, but I also would like to deregister definition based on a protocol. Is this possible? I couldn't find anything in the API.

@jasperblues
Copy link
Member

Hi @NielsKoole! Happy to hear from you.

We don't have such a feature. It sounds easy to implement, except that Typhoon usually validates assemblies and fails early on startup. . . we'd have to accept that removing an underlying definition (used by others) would create a runtime error.

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

No branches or pull requests

3 participants