Closed ERROR-404-NULL-NOT-FOUND closed 10 months ago
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅
I have read the CLA Document and I hereby sign the CLA
I think the lengths should be set by using length/eq instead of assigning a max and min value, which for ID (given that it must be exactly 24 chars) makes more sense.
#[derive(Validate, Serialize, Deserialize, JsonSchema)]
pub struct OptionsMessageSearch {
#[validate(length(equal = "24"))]
author: Option<String>,
}
It's a minor change, but it makes code a bit cleaner
Also there is a conflict.
Idk what you expected when you let a PR sit for this long lmao Y'all have said that you aren't going to merge it due to technical debt, so I'm just going to close this
Please make sure to check the following tasks before opening and submitting a PR