Bear Nuzzler · @BearNuzzler
24 followers · 21 posts · Server tech.lgbt

Currently learning more about Clean Architecture.
Using MediatR seems to be quite en vogue these days. But I don't really understand why. There are some benefits to this abstraction but the code obfuscation and the Service Locator pattern through the backdoor it brings seem like a really bad design decision. It totally removes the dependency declaration of a class which seems horrible to test.
Or am I just missing something here?

#csharp #dotnet #cleanarchitechture #mediatr

Last updated 2 years ago