Mediator icon indicating copy to clipboard operation
Mediator copied to clipboard

AddMediator(config => ..) not working

Open dschreib42 opened this issue 9 months ago • 4 comments

The namespace and scope configuration is not respected in v.2.1.7, but in version v2.0.30 it's working fine...

 var builder = WebApplication.CreateBuilder(...);

 builder.Services.AddMediator(config =>
 {
     config.Namespace = "Foo.Generated";
     config.ServiceLifetime = ServiceLifetime.Scoped;
 });

dschreib42 avatar Sep 22 '23 12:09 dschreib42