Mediator
Mediator copied to clipboard
AddMediator(config => ..) not working
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;
});