Closed hellfirehd closed 5 years ago
Are you building your own kind of MediatR tool? That seems to usually end up in some kind of generics hell.
Yes, but it's not really idiomatic Lamar usage. See the "Finding all Possible Implementors of an Interface" section of this: https://jasperfx.github.io/lamar/documentation/ioc/diagnostics/using-the-container-model/. I'd probably try to push you toward custom type scanning registrations and get that sorted out upfront instead of depending on the runtime check above.
I'm just trying to get Rebus to deliver messages to handlers but the messages are Interfaces.
(Why not just use NServiceBus? Because $$$$)
@hellfirehd If you want help w/ a custom registration convention, let me know. If this is for a per-command activation, that Container.Model
based approach is maybe too slow. Otherwise I'm gonna shut this one down.
If so, how do I configure the container to get this test to pass?