Maple.Result
1.0.36
Updated docs.
See the version list below for details.
dotnet add package Maple.Result --version 1.0.36
NuGet\Install-Package Maple.Result -Version 1.0.36
<PackageReference Include="Maple.Result" Version="1.0.36" />
<PackageVersion Include="Maple.Result" Version="1.0.36" />
<PackageReference Include="Maple.Result" />
paket add Maple.Result --version 1.0.36
#r "nuget: Maple.Result, 1.0.36"
#:package Maple.Result@1.0.36
#addin nuget:?package=Maple.Result&version=1.0.36
#tool nuget:?package=Maple.Result&version=1.0.36
Result
An abstraction which contains the value or the error of the operation. It can be mapped to the HTTP reponse if needed.
Project status: EARLY STAGE
Why
I decided to create a new implementation to address a few missing functionalities in other libraries (e.g., i18n, support for more precise error descriptions) and to better follow industry standards (RFC 9457).
Error Response
Example
{
"type": "https://example.com/probs/out-of-credit",
"status": 400,
"title": "You do not have enough credit.",
"detail": "Your current balance is 30, but that costs 50.",
"instance": "/accounts/12345/msgs/abc",
"errors": [
{
"pointer": "#/age",
"detail": "must be a positive integer",
"detailTemplate": {
"messageId":"user.details.age.mustBePositive"
}
},
{
"pointer": "#/profile/colour",
"detail": "must be ‘green’, ‘red’ or ‘blue’",
"detailTemplate": {
"messageId": "user.profile.colour",
"params": {
"validValueIds": [
"user.profile.colour.green",
"user.profile.colour.red",
"user.profile.colour.blue"
]
}
}
}
],
"detailTemplate": {
"messageId": "user.account.balance.tooLow",
"params": {
"errorCode": "UAB17",
"accounts": [
{
"title": "Main (***9456)",
"url": "/accounts/12345"
},
{
"title": "Main (***3357)",
"url": "/accounts/67890"
}
],
"currentBalance": 30,
"requiredBalance": 50
}
}
}
Contribution
Please contact author: tom.maple(at)outlook.com
| 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 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. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Maple.Result:
| Package | Downloads |
|---|---|
|
Maple.Result.Extensions.HttpClient
A collection of extension methods to map HttpClient’s HttpResponseMessage to Maple.Result. |
|
|
Maple.Result.Extensions.AspNetCore
Provides mapping of the Maple.Result to the ASP.NET Core ActionResult. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.39.1 | 193 | 3/10/2026 | |
| 1.38.16 | 251 | 3/6/2026 | |
| 1.38.14 | 92 | 3/5/2026 | |
| 1.38.9 | 118 | 3/2/2026 | |
| 1.38.7 | 118 | 2/28/2026 | |
| 1.38.0 | 98 | 2/27/2026 | |
| 1.36.0 | 89 | 2/27/2026 | |
| 1.35.0 | 230 | 2/19/2026 | |
| 1.32.0 | 90 | 2/19/2026 | |
| 1.28.0 | 103 | 2/12/2026 | |
| 1.24.9 | 100 | 1/30/2026 | |
| 1.0.80 | 98 | 1/30/2026 | |
| 1.0.75 | 97 | 1/29/2026 | |
| 1.0.72 | 97 | 1/29/2026 | |
| 1.0.42 | 106 | 1/21/2026 | |
| 1.0.40 | 95 | 1/21/2026 | |
| 1.0.38 | 90 | 1/21/2026 | |
| 1.0.36 | 109 | 1/21/2026 | |
| 1.0.33 | 118 | 1/16/2026 | |
| 1.0.28 | 146 | 1/16/2026 |