mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 12:05:05 +08:00
Improve the documentation of the FacetSearchQuery struct
This commit is contained in:
parent
605c1dd54a
commit
44b5b9e1a7
@ -22,7 +22,9 @@ pub fn configure(cfg: &mut web::ServiceConfig) {
|
|||||||
cfg.service(web::resource("").route(web::post().to(search)));
|
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)]
|
#[derive(Debug, Clone, Default, PartialEq, deserr::Deserr)]
|
||||||
#[deserr(error = DeserrJsonError, rename_all = camelCase)]
|
#[deserr(error = DeserrJsonError, rename_all = camelCase)]
|
||||||
pub struct FacetSearchQuery {
|
pub struct FacetSearchQuery {
|
||||||
|
Loading…
Reference in New Issue
Block a user