mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Improve the documentation of the FacetSearchQuery struct
This commit is contained in:
parent
605c1dd54a
commit
44b5b9e1a7
1 changed files with 3 additions and 1 deletions
|
@ -22,7 +22,9 @@ pub fn configure(cfg: &mut web::ServiceConfig) {
|
|||
cfg.service(web::resource("").route(web::post().to(search)));
|
||||
}
|
||||
|
||||
// TODO improve the error messages
|
||||
/// # Important
|
||||
///
|
||||
/// Intentionally don't use `deny_unknown_fields` to ignore search parameters sent by user
|
||||
#[derive(Debug, Clone, Default, PartialEq, deserr::Deserr)]
|
||||
#[deserr(error = DeserrJsonError, rename_all = camelCase)]
|
||||
pub struct FacetSearchQuery {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue