Skip to main content

mediatorlite-validation

Dual-layer validation model for MediatorLite. Covers the `IValidator<TRequest>` contract, the built-in attribute-driven `DataAnnotationsValidator<TRequest>`, the `ValidationBehavior<TRequest, TResponse>` pipeline behavior (auto-wired *first* by the source generator for every validated request type), the `ValidationException` / `ValidationResult` / `ValidationError` error contract, and how to register custom business-rule validators. Use when adding validation to a request, diagnosing missing or duplicate errors, deciding between DataAnnotations and custom validators, or reviewing hand-registration smells.

Jump to install

Source facts

Repository
behl1anmol/MediatorLite
Last source activity
June 10, 2026 at 06:44
Detected SKILL.md language
English
Stars
4
Forks
1

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.