# altmann/FluentResults

A generalised Result object implementation for .NET/C#

Repository: https://github.com/altmann/FluentResults
Canonical: https://ross.abutalabs.com/products/fluentresults
Language: C#
License: MIT
License Family: permissive
Topics: dotnet, dotnet-core, error-handling, dotnet-standard, validation, hacktoberfest
Last push: 2025-07-10T20:10:16+00:00

## Health v2 (maintenance only)
Score: 37/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 31, release rhythm 8, longevity 100
- inputs: {"age_days": 3464, "days_push": 419, "days_rel": 419, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2627, forks 135 (observed 2026-08-28T04:07:05.431350+00:00)

## What it is
FluentResults is a lightweight .NET library implementing the Result pattern, returning success/failure objects instead of throwing exceptions. It supports multiple errors, rich error/success objects, and hierarchical error chains across .NET Standard, Core, and Full Framework.

## Use cases
- return success or failure from a method without throwing exceptions
- collect multiple validation errors in one result object
- implement the result pattern in a DDD domain model
- chain root causes of errors hierarchically in C#
- map result objects to ASP.NET Core controller responses
- assert result objects in unit tests with FluentAssertions

## When to avoid
- you prefer exceptions or language-native nullable/union types
- your team already uses a competing Result library like OneOf or ErrorOr
- you need async-specific or framework-batteries-included error handling out of the box

## Facets
- artifact type: library
- maturity: active
- function: error-handling
- domain: developer-tools, backend, web-development
- platform: dotnet, cross-platform
- tags: result-pattern, csharp, functional-programming, validation, nuget

## Member repositories
- altmann/FluentResults (main) score 37

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:05.431350+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:19:43.835446+00:00, confidence not recorded.
  - readme: https://github.com/altmann/FluentResults (fetched 2026-08-28T04:07:05.431350+00:00, sha 2096e751fb96)
- Data as of 2026-08-30T08:39:29.467469+00:00.
