chore: add nuget package description

This also removes the description from the package readme. The desciption of the package is
shown on nuget.org in the list view and if no package readme is defined on the detail view of
a package version. Since we provide a package readme we do not need the description shown
twice.
This commit is contained in:
Louis Seubert 2026-05-21 21:57:30 +02:00
commit ef734ad02e
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
6 changed files with 8 additions and 13 deletions

View file

@ -16,6 +16,7 @@
<PropertyGroup> <PropertyGroup>
<PackageReadmeFile>package-readme.md</PackageReadmeFile> <PackageReadmeFile>package-readme.md</PackageReadmeFile>
<PackageDescription>Simple result type implementation for C# with utilities for composing success and failure flows.</PackageDescription>
<PackageIcon>package-icon.png</PackageIcon> <PackageIcon>package-icon.png</PackageIcon>
<PackageProjectUrl>https://code.geekeey.de/geekeey/request/src/branch/main/src/request.result</PackageProjectUrl> <PackageProjectUrl>https://code.geekeey.de/geekeey/request/src/branch/main/src/request.result</PackageProjectUrl>
<PackageLicenseExpression>EUPL-1.2</PackageLicenseExpression> <PackageLicenseExpression>EUPL-1.2</PackageLicenseExpression>

View file

@ -1,6 +1,3 @@
Result is a simple yet powerful [result type](https://doc.rust-lang.org/std/result/) implementation for C#, containing a
variety of utilities and standard functions for working with result types and integrating them into the rest of C#.
## Features ## Features
- **Success and Failure States:** Represent successful outcomes with a value (`Prelude.Success()`) or failures with an - **Success and Failure States:** Represent successful outcomes with a value (`Prelude.Success()`) or failures with an
@ -57,4 +54,4 @@ _ = await Prelude.Try(() => File.ReadAllLines("i_do_not_exist.txt"))
var results = await Task.WhenAll(list.Select(DoSomeThing).ToArray()); var results = await Task.WhenAll(list.Select(DoSomeThing).ToArray());
return results.Join(); return results.Join();
}); });
``` ```

View file

@ -16,6 +16,7 @@
<PropertyGroup> <PropertyGroup>
<PackageReadmeFile>package-readme.md</PackageReadmeFile> <PackageReadmeFile>package-readme.md</PackageReadmeFile>
<PackageDescription>Lightweight validation library for C# with composable validators, fluent rules, and structured validation results.</PackageDescription>
<PackageIcon>package-icon.png</PackageIcon> <PackageIcon>package-icon.png</PackageIcon>
<PackageProjectUrl>https://code.geekeey.de/geekeey/request/src/branch/main/src/request.validation</PackageProjectUrl> <PackageProjectUrl>https://code.geekeey.de/geekeey/request/src/branch/main/src/request.validation</PackageProjectUrl>
<PackageLicenseExpression>EUPL-1.2</PackageLicenseExpression> <PackageLicenseExpression>EUPL-1.2</PackageLicenseExpression>
@ -27,4 +28,4 @@
<None Include="..\..\LICENSE.md" Pack="true" PackagePath="\" Visible="false" /> <None Include="..\..\LICENSE.md" Pack="true" PackagePath="\" Visible="false" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View file

@ -1,6 +1,3 @@
Request.Validation is a lightweight validation library for C#, built around composable validators, fluent rules, and
structured validation results.
## Features ## Features
- **Composable validators:** Build validators by inheriting from `Validator<T>` and defining rules with `RuleFor` and - **Composable validators:** Build validators by inheriting from `Validator<T>` and defining rules with `RuleFor` and
@ -56,7 +53,7 @@ public sealed class CreateUserRequestValidator : Validator<CreateUserRequest>
.Length(2, 100) .Length(2, 100)
.WithCode("NAME_INVALID"); .WithCode("NAME_INVALID");
RuleFor(request => request.Age) RuleFor(request => request.Age)
.Between(18, 120); .Between(18, 120);
RuleFor(request => request.Address) RuleFor(request => request.Address)
@ -82,4 +79,4 @@ foreach (var problem in validation.Problems)
``` ```
The resulting `Problem` entries include full property paths like `Address.Street` and `Tags[0]`, making it easy to The resulting `Problem` entries include full property paths like `Address.Street` and `Tags[0]`, making it easy to
surface validation errors back to callers or APIs. surface validation errors back to callers or APIs.

View file

@ -16,6 +16,7 @@
<PropertyGroup> <PropertyGroup>
<PackageReadmeFile>package-readme.md</PackageReadmeFile> <PackageReadmeFile>package-readme.md</PackageReadmeFile>
<PackageDescription>Simple mediator implementation in .NET with minimal dependencies.</PackageDescription>
<PackageIcon>package-icon.png</PackageIcon> <PackageIcon>package-icon.png</PackageIcon>
<PackageProjectUrl>https://code.geekeey.de/geekeey/request/src/branch/main/src/request</PackageProjectUrl> <PackageProjectUrl>https://code.geekeey.de/geekeey/request/src/branch/main/src/request</PackageProjectUrl>
<PackageLicenseExpression>EUPL-1.2</PackageLicenseExpression> <PackageLicenseExpression>EUPL-1.2</PackageLicenseExpression>

View file

@ -1,5 +1,3 @@
Simple mediator implementation in .NET with minimal dependencies.
## Features ## Features
- **Simple interfaces:** no complex constraints, just marker interfaces that work. - **Simple interfaces:** no complex constraints, just marker interfaces that work.
@ -62,4 +60,4 @@ public class ScalarBehavior : IScalarRequestBehavior<ScalarTestRequest, string>
return result; return result;
} }
} }
``` ```