Flow.Validated
1.0.0
dotnet add package Flow.Validated --version 1.0.0
NuGet\Install-Package Flow.Validated -Version 1.0.0
<PackageReference Include="Flow.Validated" Version="1.0.0" />
<PackageVersion Include="Flow.Validated" Version="1.0.0" />
<PackageReference Include="Flow.Validated" />
paket add Flow.Validated --version 1.0.0
#r "nuget: Flow.Validated, 1.0.0"
#:package Flow.Validated@1.0.0
#addin nuget:?package=Flow.Validated&version=1.0.0
#tool nuget:?package=Flow.Validated&version=1.0.0
Flow.Validated
Overview
This library provides simple extension methods for converting Validated<T> results into Flow<T> results, making it easier to integrate validation outcomes with flow returns.
Getting started
Add the Flow.Validated nuget package to your project using Nuget Package Manager or the dotnet CLI:
dotnet add package Flow.Validated
Add the using statement using Validated.Core.Extensions.
to access the ToFlow<T>
extension.
Usage
Currently there is a single ToFlow<T>
extension method with an async overload that attaches to a Validated<T>
returning a Flow<T>
If the Validated<T>
is invalid it creates a failed Flow<T>
using the Failure.InvalidEntryFailure
type, copying the list of InvalidEntry
into the failure.
Note: If any of the invalid entries have a Cause that is not set to Validation, such as SystemError or RuleConfigError then the CanRetry property is set to false otherwise it is set to true
Product | Versions 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Flow.Core (>= 3.2.0)
- Validated.Core (>= 1.0.6)
-
net9.0
- Flow.Core (>= 3.2.0)
- Validated.Core (>= 1.0.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.0 | 76 | 10/4/2025 |