rename ValidArgs to ValidEx

This commit is contained in:
gengteng
2023-09-27 12:10:06 +08:00
parent 5b15f15ce3
commit a6da64d6c9
3 changed files with 19 additions and 15 deletions

View File

@@ -8,6 +8,8 @@
This crate provides a `Valid` type that can be used in combination with `Json`, `Path`, `Query`, and `Form` extractors to validate the entities that implement the `Validate` trait from the `validator` crate.
It also provides a `ValidEx` type that works similarly to `Valid`, but can perform validation requiring additional arguments by using types that implement the `ValidateArgs` trait.
Additional extractors like `TypedHeader`, `MsgPack`, `Yaml` etc. are supported through optional features. The full list of supported extractors is in the Features section below.
## Basic usage