mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-11 15:16:35 +00:00
Improve the documentation of the FacetSearchQuery struct
This commit is contained in:
@ -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 {
|
||||||
|
Reference in New Issue
Block a user