IndQuestResults 1.0.6
dotnet add package IndQuestResults --version 1.0.6
NuGet\Install-Package IndQuestResults -Version 1.0.6
<PackageReference Include="IndQuestResults" Version="1.0.6" />
<PackageVersion Include="IndQuestResults" Version="1.0.6" />
<PackageReference Include="IndQuestResults" />
paket add IndQuestResults --version 1.0.6
#r "nuget: IndQuestResults, 1.0.6"
#:package IndQuestResults@1.0.6
#addin nuget:?package=IndQuestResults&version=1.0.6
#tool nuget:?package=IndQuestResults&version=1.0.6
IndQuestResults - Enterprise-Grade Result<T> Library
A battle-tested, enterprise-grade Result<T> library for functional error handling in .NET applications. Provides type-safe, performant, and expressive ways to represent operation outcomes without exceptions.## โจ Key Features- ๐ก๏ธ Type Safety: Eliminates null reference exceptions and runtime errors- โก Performance Optimized: 70% reduction in allocations with Span<T> optimizations- ๐ Functional Programming: Full monadic operations (Map, Bind, Match, Recover)- ๐งต Thread-Safe: Immutable design with readonly fields- ๐ JSON Serializable: Built-in support for API responses and data persistence- โ ๏ธ Warning Support: Distinguish between errors and diagnostic warnings- ๐ฏ Enterprise Ready: Extensive mutation testing with 85% quality threshold## ๐ Quick Start### Installation
bashdotnet add package IndQuestResults
### Basic Usagecsharpusing IndQuestResults;// Success resultsvar success = Result.Success();var successWithValue = Result<string>.Success("Hello World");// Failure resultsvar failure = Result.WithFailure("Operation failed");var failureWithValue = Result<int>.WithFailure("Parse error", defaultValue: 0);// Multiple errorsvar multipleErrors = Result.WithFailure(new[] { "Error 1", "Error 2" });// Warnings (successful with diagnostics)var withWarnings = Result<string>.WithWarnings( new[] { "Performance warning" }, "Operation completed");// Warnings with quality metadata (confidence + missing data ratio)var withWarnsAndMeta = Result<string>.WithWarnings( warnings: new[] { "Heuristic fill for missing fields", "Low signal period" }, value: "Computed", confidence: 0.82, // clamped to [0,1] missingDataRatio: 0.25 // clamped to [0,1]);Console.WriteLine(withWarnsAndMeta.Confidence); // 0.82Console.WriteLine(withWarnsAndMeta.MissingDataRatio); // 0.25Console.WriteLine(string.Join(", ", withWarnsAndMeta.Warnings));
### Functional Programmingcsharpreturn await _dataService .GetUserAsync(userId) .Bind(user => _validator.ValidateUser(user)) .Map(user => user.ToDto()) .Tap(dto => _logger.LogSuccess($"User {dto.Id} processed")) .Recover(errors => CreateDefaultUserDto()) .Match( onSuccess: dto => Ok(dto), onFailure: errors => BadRequest(errors) );
## ๐ Package Information- Target Framework: .NET 10.0+- Dependencies: None (zero external dependencies)- Package ID: IndQuestResults- License: MIT- Source: Battle-tested patterns from enterprise codebase- Coverage: 74.5% with comprehensive test suite (353 tests)- Quality: 85%+ mutation testing score### Release Notes & Download- Recommended: Release/IndQuestResults.1.0.6.nupkg
- Previous: Release/IndQuestResults.1.0.5.nupkg
, Release/IndQuestResults.1.0.4.nupkg
, Release/IndQuestResults.1.0.3.nupkg
, Release/IndQuestResults.1.0.2.nupkg
, Release/IndQuestResults.1.0.1.nupkg
- See CHANGELOG.md for details## ๐ค ContributingWe welcome high-quality contributions! IndQuestResults maintains strict quality standards:### Quick Start for Contributors1. Read our Contributing Guidelines (mandatory)2. Check our Code of Conduct3. Review existing Issues and Discussions### Quality Requirements- โ
100% unit test coverage for new code- โ
Mutation testing score โฅ85%- โ
Zero compilation warnings (warnings as errors)- โ
XML documentation for all public APIs- โ
Performance benchmarks for performance-critical changes### ๐จ Before Opening Issues- Bug reports MUST include a reproducible repository- Feature requests MUST include business justification and technical design- Performance issues MUST include benchmark data and profiling results๐ Full Contributing Guidelines โ## ๐ LicenseThis project is licensed under the MIT License - see the LICENSE file for details.## ๐ RecognitionIndQuestResults serves as a reference implementation for enterprise-grade functional programming in .NET. Contributors who maintain our quality standards are recognized in release notes and project documentation.### Contributor Levels- Bronze: First merged contribution- Silver: 5+ contributions with sustained quality - Gold: 20+ contributions with architectural improvements- Platinum: Core maintainer with mutation testing expertise## ๐ Support & Community- ๐ฌ GitHub Discussions - Questions and community support- ๐ GitHub Issues - Bug reports and feature requests - ๐ Documentation - Comprehensive usage guide- ๐ฏ Examples - Practical implementation samples---Quality First: We maintain enterprise-grade standards because this library powers production applications. Every contribution makes the .NET ecosystem stronger! ๐
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.