fullstackhero / dotnet-starter-kit

Production Grade Cloud-Ready .NET 8 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.

Home Page:https://fullstackhero.net/dotnet-webapi-boilerplate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] MediatR - Startups issues

kallievz opened this issue · 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()));