mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-06-14 03:51:38 +02:00
Better document why we duplicate structs
This commit is contained in:
parent
a0a4ac66ec
commit
7ea2e4ec7b
@ -2021,6 +2021,8 @@ pub struct PrefixSettings {
|
||||
pub compute_prefixes: PrefixSearch,
|
||||
}
|
||||
|
||||
/// This is unfortunately a duplication of the struct in <meilisearch/src/search/mod.rs>.
|
||||
/// The reason why it is duplicated is because milli cannot depend on meilisearch. It would be cyclic imports.
|
||||
#[derive(Default, Debug, Copy, Clone, PartialEq, Eq, Deserr, ToSchema, Serialize, Deserialize)]
|
||||
#[deserr(rename_all = camelCase)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user