Replaces FluentValidation and Mediator command/queries handling with custom implementations.

This commit is contained in:
BinaryAlley committed 2026-08-13 08:53:06 -07:00
1 parent 9a5c7473f9
commit 2d1c6b1ab8
297 files changed
+3619 -3045

No files matched your search

@@ -30,7 +30,7 @@ public static class ValidatorTestExtensions
/// <param name="expectedError">The error that should not be present in the validation results.</param>
public static void ShouldNotHaveValidationError(this List<Error> errors, Error expectedError)
{
Assert.DoesNotContain(errors, error => error.Code == expectedError.Code);
Assert.DoesNotContain(errors, error => error.Description == expectedError.Description);
}
/// <summary>
@@ -40,7 +40,7 @@ public static class ValidatorTestExtensions
/// <param name="expectedError">The error that should be present in the validation results.</param>
public static void ShouldHaveValidationError(this List<Error> errors, Error expectedError)
{
Assert.Contains(errors, error => error.Code == expectedError.Code);
Assert.Contains(errors, error => error.Description == expectedError.Description);
}
/// <summary>