Mediator icon indicating copy to clipboard operation
Mediator copied to clipboard

Manually register handlers

Open artyom-p opened this issue 2 years ago • 1 comments

Is it possible to register handlers only from specified assemblies?

I have a project connected to my application that contains handlers in it , that have some specific services injected in the constructor. Im using only some extensions from that project, and I don't need handlers to be automatically registered on startup because it breaks the application on start as DI validation comes into play and I don't have those services registered.

In most cases its totally fine to automatically register handlers, but would be super useful to control it.

artyom-p avatar Apr 14 '24 20:04 artyom-p

Not currently no, but I really want that too. Might add it to the next major release

martinothamar avatar Jun 14 '24 07:06 martinothamar