Martin Othamar

Results 140 comments of Martin Othamar

I'm going to have a look to see if that can be included in 3.x as well, if we do that as opt-in based on configuration

Good points! > It's worth measuring, but my suspicion is that cold start perf won't be significantly impacted by lazy-loading / caching of handler registrations etc. Yes I think this...

> What is the benefit of creating all of the handlers at the same time? In the opposite case you incurr the cost of having to check that fact every...

For sure, this issue will probably go into a minor bump. Updated the v3 issue: https://github.com/martinothamar/Mediator/issues/98#issuecomment-3153810976 @ejsmith again appreciate the work you've done there, but as mentioned in the v3...

I've started prototyping for this, it's the next thing on my list. It's going to come in a 3.1-preview release. I'll post back when I have something testable

I have a working solution here: https://github.com/martinothamar/Mediator/pull/238 Singleton resuts look good, but there is some stuff going on with Scoped/Transient that is kind of puzzling atm

I am no longer puzzled and have merged the PR mentioned above 😄 Will summarize the results here (there are a lot more details in the linked PR for those...

Implemented explicit assembly configuration in #202 (README is updated, will be available in `3.0.0-preview.61`): ```csharp services.AddMediator((MediatorOptions options) => { options.Assemblies = [typeof(Ping)]; }); ```

Related discussion thread: https://github.com/martinothamar/Mediator/discussions/231