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

Manually register handlers #148

Open
artyom-p opened this issue Apr 14, 2024 · 0 comments
Open

Manually register handlers #148

artyom-p opened this issue Apr 14, 2024 · 0 comments

Comments

@artyom-p
Copy link

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.

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

No branches or pull requests

1 participant