v0.8.1
Fixes
- Errors in rules were not being propagated correctly.
Before:
#[derive(Debug, garde::Validate)]
struct Test {
#[garde(length(min = -10))] // error: unrecognized rule
field: String,
}
After:
#[derive(Debug, garde::Validate)]
struct Test {
#[garde(length(min = -10))] // error: value must be a valid `usize`: invalid digit found in string
field: String,
}
Full Changelog: https://github.com/jprochazk/garde/compare/v0.8.0..v0.8.1