Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] MediatR - Startups issues #901

Open
kallievz opened this issue Nov 22, 2023 · 0 comments
Open

[BUG] MediatR - Startups issues #901

kallievz opened this issue Nov 22, 2023 · 0 comments

Comments

@kallievz
Copy link

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()));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant