We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello would it be possible to update validator version ? I face some trait mismatch :/
Thank you
The text was updated successfully, but these errors were encountered:
Same issue here
Sorry, something went wrong.
Stacktrace:
Struct:
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, Validate, ToSchema)] pub struct BudgetDTO { #[validate(range(min = 0))] pub amount: i64, #[validate(length(min = 1, max = 255))] pub name: String, #[validate(length(min = 0, max = 255))] pub description: Option<String>, #[serde(with = "time::serde::rfc3339")] #[validate(custom(function = validate_datetime_not_in_future))] pub created_at: OffsetDateTime, }
For a complete example look: https://github.com/financrr/backend/tree/dependabot/cargo/validator-0.17.0
0.18
Successfully merging a pull request may close this issue.
Hello would it be possible to update validator version ?
I face some trait mismatch :/
Thank you
The text was updated successfully, but these errors were encountered: