public GetCartRequestValidator()

in src/app/ContosoTraders.Api.Core/Requests/Validators/GetCartRequestValidator.cs [5:17]


    public GetCartRequestValidator()
    {
        RuleFor(request => request)
            .NotNull();

        RuleFor(request => request.Email)
            .NotEmpty()
            .WithMessage("Email cannot be null/empty.");

        RuleFor(request => request.Email)
            .EmailAddress()
            .WithMessage("Incorrect format for Email.");
    }