FluxFlow.Components.Assertions 0.1.0-alpha.1

This is a prerelease version of FluxFlow.Components.Assertions.
There is a newer version of this package available.
See the version list below for details.
dotnet add package FluxFlow.Components.Assertions --version 0.1.0-alpha.1
                    
NuGet\Install-Package FluxFlow.Components.Assertions -Version 0.1.0-alpha.1
                    
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="FluxFlow.Components.Assertions" Version="0.1.0-alpha.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FluxFlow.Components.Assertions" Version="0.1.0-alpha.1" />
                    
Directory.Packages.props
<PackageReference Include="FluxFlow.Components.Assertions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FluxFlow.Components.Assertions --version 0.1.0-alpha.1
                    
#r "nuget: FluxFlow.Components.Assertions, 0.1.0-alpha.1"
                    
#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.
#:package FluxFlow.Components.Assertions@0.1.0-alpha.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FluxFlow.Components.Assertions&version=0.1.0-alpha.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=FluxFlow.Components.Assertions&version=0.1.0-alpha.1&prerelease
                    
Install as a Cake Tool

FluxFlow.Components.Assertions

Reusable expression-driven assertion components for FluxFlow.

Nodes

Node type Shape Purpose
flow.assert Input → Result, Passed, Failed, Errors Evaluates an expression and emits assertion results plus routed input values.

The package does not choose an expression language. Applications provide one or more IFlowExpressionEngine implementations during registration.

var registry = new RuntimeNodeFactoryRegistry()
    .RegisterAssertionsComponents(options => options
        .UseExpressionEngine(appExpressionEngine)
        .RegisterType<AppMessage>("app.message")
        .UseContextFactory(new AppMessageContextFactory()));

Basic configuration:

{
  "type": "flow.assert",
  "inputType": "object",
  "engine": "my-engine",
  "expressionId": "assert-v1",
  "expressionName": "valid-message",
  "description": "message is valid",
  "failureMessage": "Message failed validation.",
  "expression": "..."
}

inputType defaults to object. Register type aliases when an assertion node needs to connect to typed ports. Omit engine to use the default expression engine configured by the host.

False assertions emit a FlowAssertionResult and route the original input to Failed. True assertions emit a result and route the original input to Passed. Expression evaluation failures emit FlowError and the node continues processing later messages.

Composition Guidance

Use this package as one part of a host-composed graph. See Component Composition for recommended host boundaries, package boundaries, and extraction timing.

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.  net9.0 was computed.  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 is compatible.  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. 
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 FluxFlow.Components.Assertions:

Package Downloads
FluxFlow.Components.Assertions.Composition

Optional typed assertion registration and Designer metadata over host-owned keyed expression resources.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
7.0.0-rc.1 93 9/5/2026
6.0.0 189 8/3/2026
3.0.2 137 7/3/2026
3.0.1 183 7/2/2026
3.0.0 135 6/19/2026
2.0.0 153 6/18/2026
1.2.1 133 6/15/2026
1.2.0 433 6/12/2026
1.1.0 123 6/5/2026
1.0.0 129 6/4/2026
0.2.0-alpha.1 256 6/2/2026
0.1.1-alpha.1 89 6/2/2026
0.1.0-alpha.1 104 6/1/2026

Adds the initial expression-driven assertion component package.