Keats / validator

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

Nested collections should not always fail #301

Closed einarmo closed 4 months ago

einarmo commented 4 months ago

Nested validators on collections would always fail with an empty list of errors, this fixes that and updates all the collection tests to check that it is possible to create a struct that validates.

Keats commented 4 months ago

Thanks!

brogdogg commented 4 months ago

@Keats do you plan to release a patch release with these changes? I hit this today in my own validation.

Keats commented 4 months ago

Yes, just want to handle the other known bugs to release everything in one patch