Keats / validator

Simple validation for Rust structs
MIT License
1.91k stars 140 forks source link

Update README #323

Closed nopeNoshishi closed 3 months ago

nopeNoshishi commented 3 months ago

Hello! I am a user of this validator crate.

I recently had the opportunity to apply a custom validation. While reading the documentation, I noticed that the way to take arguments and add them to the validation differs from what is described in the README. It seems that the latest 0.18.0 has a different definition due to the implementation changes made by the following PR

Since this is the case, I decided to rewrite the README and create a PR. While I made an effort to find related issues and PRs, I needed help locating them. If any are pending or planned, I would appreciate it if they could be addressed. I'm open to closing this if necessary.

I have confirmed that the code in the documentation works with 0.18.0, but I would appreciate it if you could point out any omissions.