dotnet-starter-kit icon indicating copy to clipboard operation
dotnet-starter-kit copied to clipboard

[BUG] MediatR - Startups issues

Open kallievz opened this issue 2 years ago • 0 comments

Describe the bug Compile time issue with registering MediatR when nuget update MediatR, no PR

Files affected: FSH.WebApi.Infrastructure => Startup.cs FSH.WebApi.Application => Startup.cs

Change: From .AddMediatR(assembly); to .AddMediatR(cfg => cfg.RegisterServicesFromAssembly(Assembly.GetExecutingAssembly()));

kallievz avatar Nov 22 '23 16:11 kallievz