Martin Othamar
Martin Othamar
Hey, that seems likely since the courier type since to be a `INotificationHandler`, which is a pattern that is supported here as well
Closing this for now
Think this is a good idea, and we have similar diagnostics for missing handlers. If someone wants to contribute this is up for grabs
I think that would be difficult given the interfaces aren't generated (the ones contained in `Mediator.Abstractions`)
Yes, defined on the interface
I don't see any reasonable way to do this, and I'm not sure it's worthwhile. Closing for now
Even if the source generator filters out the interface itself (like @feiyun0112 says), it still is able to find the concrete requests deriving from `IMyReq`, but the source generator doesn't...
Given the level of interest I think this isn't worthwhile, so closing this for now
I think this only happens for the `Singleton` lifetime? It is eagerly instantiating handlers for performance reasons. To be honest, I kind of like that it fails early like that,...
Hmm yeah I would be tempted to go for B, but Mediator doesn't know about the hosting of the code. If it did, we could add an `IHostedService` that fails...