typhoon icon indicating copy to clipboard operation
typhoon copied to clipboard

Deregister definitions from factory

Open bynelus opened this issue 9 years ago • 1 comments

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.

bynelus avatar Apr 06 '16 07:04 bynelus

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.

jasperblues avatar Apr 06 '16 12:04 jasperblues