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

@ -1,6 +1,3 @@
Request.Validation is a lightweight validation library for C#, built around composable validators, fluent rules, and
structured validation results.
## Features
- **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)
.WithCode("NAME_INVALID");
RuleFor(request => request.Age)
RuleFor(request => request.Age)
.Between(18, 120);
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
surface validation errors back to callers or APIs.
surface validation errors back to callers or APIs.