FunctionalDdd.FluentValidation 2.0.0-alpha.21

This is a prerelease version of FunctionalDdd.FluentValidation.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package FunctionalDdd.FluentValidation --version 2.0.0-alpha.21                
NuGet\Install-Package FunctionalDdd.FluentValidation -Version 2.0.0-alpha.21                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FunctionalDdd.FluentValidation" Version="2.0.0-alpha.21" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FunctionalDdd.FluentValidation --version 2.0.0-alpha.21                
#r "nuget: FunctionalDdd.FluentValidation, 2.0.0-alpha.21"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FunctionalDdd.FluentValidation as a Cake Addin
#addin nuget:?package=FunctionalDdd.FluentValidation&version=2.0.0-alpha.21&prerelease

// Install FunctionalDdd.FluentValidation as a Cake Tool
#tool nuget:?package=FunctionalDdd.FluentValidation&version=2.0.0-alpha.21&prerelease                

Fluent Validation extension

This library will help convert Fluent Validation Errors to FunctionalDdd ValidationError.

Example:

 public static Result<User, Error> TryCreate(FirstName firstName, LastName lastName, EmailAddress email)
{
  var user = new User(firstName, lastName, email);
  return s_validator.ValidateToResult(user);
}

static readonly InlineValidator<User> s_validator = new()
{
  v => v.RuleFor(x => x.FirstName).NotNull(),
  v => v.RuleFor(x => x.LastName).NotNull(),
  v => v.RuleFor(x => x.Email).NotNull(),
};
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on FunctionalDdd.FluentValidation:

Package Downloads
FunctionalDdd.SampleUserLibrary

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0-alpha.55 35 11/22/2024
2.0.0-alpha.52 47 11/7/2024
2.0.0-alpha.48 42 11/2/2024
2.0.0-alpha.44 100 10/18/2024
2.0.0-alpha.42 55 10/14/2024
2.0.0-alpha.39 69 6/27/2024
2.0.0-alpha.38 69 4/24/2024
2.0.0-alpha.33 64 4/17/2024
2.0.0-alpha.26 89 4/9/2024
2.0.0-alpha.21 82 4/1/2024
2.0.0-alpha.19 68 3/5/2024
2.0.0-alpha.18 74 2/28/2024
2.0.0-alpha.17 63 2/26/2024
2.0.0-alpha.15 80 1/30/2024
2.0.0-alpha.8 66 1/27/2024
2.0.0-alpha.6 106 1/5/2024
1.1.1 791 11/15/2023
1.1.0-alpha.32 120 11/2/2023
1.1.0-alpha.30 206 10/31/2023
1.1.0-alpha.28 93 10/28/2023
1.1.0-alpha.27 96 10/28/2023
1.1.0-alpha.24 71 10/20/2023
1.1.0-alpha.23 92 10/13/2023
1.1.0-alpha.21 99 10/1/2023
1.1.0-alpha.20 81 9/30/2023
1.1.0-alpha.19 100 9/30/2023
1.1.0-alpha.18 100 9/29/2023
1.1.0-alpha.17 80 9/22/2023
1.1.0-alpha.13 91 9/16/2023
1.1.0-alpha.4 142 6/9/2023
1.1.0-alpha.3 90 6/8/2023
1.0.1 635 5/12/2023
0.1.0-alpha.40 118 4/6/2023
0.1.0-alpha.39 120 4/3/2023
0.1.0-alpha.38 142 4/2/2023
0.1.0-alpha.37 132 3/31/2023
0.1.0-alpha.35 120 3/29/2023
0.1.0-alpha.34 105 3/28/2023
0.1.0-alpha.32 142 3/18/2023
0.1.0-alpha.30 132 3/11/2023
0.1.0-alpha.27 138 3/7/2023
0.1.0-alpha.24 139 2/15/2023
0.1.0-alpha.22 124 2/15/2023
0.1.0-alpha.20 128 2/13/2023
0.1.0-alpha.19 98 2/13/2023
0.0.1-alpha.14 149 1/4/2023
0.0.1-alpha.4 128 12/30/2022
0.0.1-alpha 596 12/21/2022 0.0.1-alpha is deprecated because it is no longer maintained.