Post #2870568
2025-04-03 20:26 UTC
@crashtestdev@woof.tech @maxitb@mastodon.social CQRS is extremely useful in some cases, especially when backed by a clustered DB with read only connections to backups. It’s just another tool on the tool belt to use in high performance systems, MediatR doesn’t really have anything to do with CQRS and so not sure why all the hate. I like MediatR for its behaviours, though often I don’t need it.
Replies (1)
-
@crashtestdev@woof.tech 2025-04-03 21:38
@mbrdev@mastodon.social @maxitb@mastodon.social I have only ever heard of CQRS mentioned with MediatR and MediatR mentioned with CQRS, it seems pretty closely coupled in dotnet RE behaviours: do not use if you do not want future maintainers to not hate you, as nobody needs some poorly documented piece of code inserting itself between you call site and handler and then breaking