Why REslava.Result
Why REslava.Result?
The only .NET library that combines functional error handling with compile-time ASP.NET API generation.
| REslava.Result | FluentResults | ErrorOr | LanguageExt | |
|---|---|---|---|---|
| Result<T> pattern | ✅ | ✅ | ✅ | ✅ |
| OneOf discriminated unions | ✅ (2-4 types) | — | — | ✅ |
| Maybe<T> | ✅ | — | — | ✅ |
| ASP.NET source generators | ✅ | — | — | — |
| SmartEndpoints (zero-boilerplate APIs) | ✅ | — | — | — |
| OpenAPI metadata auto-generation | ✅ | — | — | — |
| Authorization & Policy support | ✅ | — | — | — |
| Roslyn safety analyzers | ✅ | — | — | — |
| Validation framework | ✅ | Basic | — | ✅ |
| Zero dependencies | ✅ | ✅ | ✅ | — |
Unique advantage: SmartEndpoints auto-generates complete Minimal API endpoints from your business logic — including routing, DI, HTTP status mapping, error handling, full OpenAPI metadata (.Produces<T>(), .WithSummary(), .WithTags()), and authorization (.RequireAuthorization(), .AllowAnonymous()). No other .NET library does this.