When I tried to update past 0.16 I now have a "Duplicate field length" bug when I try to use duplicate fields like so:
#[validate(
length(min = 1, message = "cannot be empty"),
length(max = 32, message = "must be <= 32 characters")
)]
pub name: String,
where I intentionally use two different length checks to create two different messages.
Is there a way to still create two different messages or will I have to just combine them into one message like: "string was empty or had more than 32 characters"?