Martin Othamar

Results 140 comments of Martin Othamar

Hi! Need more specifics to understand what's going wrong. In the meantime, here are some samples showing various ways to organize multiple projects, including clean-architecture style: * [ASP.NET Core clean...

Since there isn't any activity here I'm going to close this. Feel free to revive with repro if anyone is still having issue

Hi! I just checked out the 2.1 branch, and ran this code ```csharp var builder = WebApplication.CreateBuilder(args); builder.Services.AddMediator( options => { options.Namespace = "SomeNs"; options.ServiceLifetime = ServiceLifetime.Transient; } ); builder.Services.AddControllers();...

I added a sample for this using Autofac and .NET 6, seemed to work find here, unless I'm missing something.. ![image](https://github.com/martinothamar/Mediator/assets/5425986/a9b5b6c4-12b7-43c6-9824-e65b862eaa1e) https://github.com/martinothamar/Mediator/commit/466dbd777c47679063451b885174dc827158f533

Since we don't have a repro here I'm going to close it. Feel free to revive if you can provide a repro (I can't imagine any setup where this happens...

I think this is the same issue as here: https://github.com/martinothamar/Mediator/issues/94 Closing this

Sure, feel free :+1: are you thinking of `TreatWarningsAsErrors` or adjusting them through `.editorconfig` or something?

This is definitely on my radar, I still have a lot of plans for the next couple of versions of Mediator but it would be cool to explore this space...

Hmm this is a weird one... code: ```csharp var svc = app.Services.GetServices().ToArray(); ``` .NET 7: ![image](https://github.com/martinothamar/Mediator/assets/5425986/a577e174-64c8-44c5-91d5-a0b0830bbb96) .NET 8 preview 7: ![image](https://github.com/martinothamar/Mediator/assets/5425986/b43460ad-b0d4-42d6-97f2-1f469e335a53) Is there a bug in DI for .NET 7...

I think this was a .NET bug actually. I have not seen this since. Closing for now