rambler-digital-solutions / actix-web-validator

Rust library for providing validation mechanism to actix-web with Validator crate.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for additional arguments

krojew opened this issue · comments

It's a good idea to allow stateful custom validators to be used via https://docs.rs/validator/latest/validator/trait.ValidateArgs.html#tymethod.validate_args . This allows injecting custom services/data into validation logic.