diff --git a/src/request.result/Geekeey.Request.Result.csproj b/src/request.result/Geekeey.Request.Result.csproj index b39f727..9647999 100644 --- a/src/request.result/Geekeey.Request.Result.csproj +++ b/src/request.result/Geekeey.Request.Result.csproj @@ -16,6 +16,7 @@ package-readme.md + Simple result type implementation for C# with utilities for composing success and failure flows. package-icon.png https://code.geekeey.de/geekeey/request/src/branch/main/src/request.result EUPL-1.2 diff --git a/src/request.result/package-readme.md b/src/request.result/package-readme.md index f0ac812..574b5d9 100644 --- a/src/request.result/package-readme.md +++ b/src/request.result/package-readme.md @@ -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 - **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()); return results.Join(); }); -``` \ No newline at end of file +``` diff --git a/src/request.validation/Geekeey.Request.Validation.csproj b/src/request.validation/Geekeey.Request.Validation.csproj index b86acab..098287f 100644 --- a/src/request.validation/Geekeey.Request.Validation.csproj +++ b/src/request.validation/Geekeey.Request.Validation.csproj @@ -16,6 +16,7 @@ package-readme.md + Lightweight validation library for C# with composable validators, fluent rules, and structured validation results. package-icon.png https://code.geekeey.de/geekeey/request/src/branch/main/src/request.validation EUPL-1.2 @@ -27,4 +28,4 @@ - \ No newline at end of file + diff --git a/src/request.validation/package-readme.md b/src/request.validation/package-readme.md index 212a162..b58caa2 100644 --- a/src/request.validation/package-readme.md +++ b/src/request.validation/package-readme.md @@ -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` and defining rules with `RuleFor` and @@ -56,7 +53,7 @@ public sealed class CreateUserRequestValidator : Validator .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. \ No newline at end of file +surface validation errors back to callers or APIs. diff --git a/src/request/Geekeey.Request.csproj b/src/request/Geekeey.Request.csproj index 92182f8..b140fb7 100644 --- a/src/request/Geekeey.Request.csproj +++ b/src/request/Geekeey.Request.csproj @@ -16,6 +16,7 @@ package-readme.md + Simple mediator implementation in .NET with minimal dependencies. package-icon.png https://code.geekeey.de/geekeey/request/src/branch/main/src/request EUPL-1.2 diff --git a/src/request/package-readme.md b/src/request/package-readme.md index 5587cb2..492332e 100644 --- a/src/request/package-readme.md +++ b/src/request/package-readme.md @@ -1,5 +1,3 @@ -Simple mediator implementation in .NET with minimal dependencies. - ## Features - **Simple interfaces:** no complex constraints, just marker interfaces that work. @@ -62,4 +60,4 @@ public class ScalarBehavior : IScalarRequestBehavior return result; } } -``` \ No newline at end of file +```