MediatR vs Discriminated Unions

Posted on October 24, 2020 in Development • Tagged with MediatR, .NET, C#, F#, Patterns, FunctionalProgramming

In this post, I will compare and contrast what the MediatR makes possible in C# with what we can achieve natively in F# with discriminated unions. This is not meant to be an exhaustive review of the features and capabilities of MediatR or what is possible with functional techniques, just …


Continue reading