-
Notifications
You must be signed in to change notification settings - Fork 230
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
Some types do not get decorated #214
Comments
Hey @dario-l! 👋🏻 I don't know what to tell you; it sounds weird to me too, but until I have a repro, there's not much I can do with the little information I have from this issue 😔 |
Hi @khellang All handlers have the following generic constraints: Because of this, decorators only worked on messages that had an empty/default constructor. From my perspective some works but some other do not. 😄 |
I have a very strange symptom. Some classes (CommandHandlers) have been decorated and others with exactly the same structure, located in a different directory (different namespace) are not.
I have no idea where to look for the cause.
The class structure is as follows:
Dispatcher looks like this:
Registration:
I have absolutely no idea why decorating works that inconsistently. 😢
The text was updated successfully, but these errors were encountered: