mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-05 17:40:55 -05:00
* actix validation * add check for memmap/indexing_threshold * fix actix json settings * Validate settings configuration on start, print pretty warnings on fail * Add more validation rules for settings and nested types * Move shared validation logic into collection/operations * Show validation warning in log when loading some internal configs * Show prettier actix JSON validation errors * Stubs for pretty handling of query errors, reformat validation errors * Use crate flatten function, the hard work was already done for us We don't have to flatten validation errors into their qualified field names ourselves because there is a utility function for this. * Configure actix path validator * Actix endpoints don't require public * Extend validation to more actix types * Validate all remaining actix path and query properties * Rephrase range validation messages to clearly describe they're inclusive * Validate all query params to respond with pretty deserialize errors * Nicely format JSON payload deserialize error responses * Improve error reporting for upsert point batches * Add basic validation test that checks a path, query and payload value * Add some validation constraints * Add simple validation error render test * Update Cargo.lock --------- Co-authored-by: timvisee <tim+github@visee.me>