feat(search): Implements the nested fields

See https://github.com/meilisearch/specifications/pull/121
This commit is contained in:
Tamo 2022-03-30 13:47:27 +02:00
parent 013fe4cbc9
commit 69d312209e
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
10 changed files with 501 additions and 261 deletions

View file

@ -155,7 +155,7 @@ async fn test_get_all_documents_offset() {
.await;
assert_eq!(code, 200);
assert_eq!(response.as_array().unwrap().len(), 20);
assert_eq!(response.as_array().unwrap()[0]["id"], 13);
assert_eq!(response.as_array().unwrap()[0]["id"], 5);
}
#[actix_rt::test]