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.

跳到安装

来源信息

仓库
behl1anmol/MediatorLite
最近来源活动
2026年6月10日 06:44
检测到的 SKILL.md 语言
英语
星标
4
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。