MeiliSearch/meilisearch-types/src
bors[bot] 0eaa8ca255
Merge #3266
3266: Improve the way we receive the documents payload- serde multiple ndjson fix r=curquiza a=jiangbo212

# Pull Request

## Related issue
Fixes #3037 

## Related PR
#3164 

## What does this PR do?
Sorry, This PR is mainly to fix the problems caused by my previously provided PR #3164. It causes multiple ndjson data deserialization failures
- Fix serde multiple ndjson data failures and add test to it
- Fix serde jsonarray error and againest serde it use `from_slice`. only use `from_slice` when serde error category is `data`, it indicate json data is a single json.

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: jiangbo212 <peiyaoliukuan@126.com>
2023-01-05 11:30:29 +00:00
..
compression.rs Compress the snapshot in a tarball 2022-10-27 11:35:15 +02:00
document_formats.rs test update and ndjson serde use from_slice 2022-12-21 14:31:45 +08:00
error.rs Replace underscores with hyphens in doc link to error code 2023-01-05 10:09:02 +01:00
index_uid.rs Bring back release-v0.30.0 into release-v0.30.0-temp (final: into main) (#3145) 2022-11-28 16:27:41 +01:00
keys.rs Bring back release-v0.30.0 into release-v0.30.0-temp (final: into main) (#3145) 2022-11-28 16:27:41 +01:00
lib.rs Compress the snapshot in a tarball 2022-10-27 11:35:15 +02:00
settings.rs fix clippy part1 2022-10-27 11:35:20 +02:00
star_or.rs Introduce a rustfmt file 2022-10-27 11:35:05 +02:00
tasks.rs Bring back release-v0.30.0 into release-v0.30.0-temp (final: into main) (#3145) 2022-11-28 16:27:41 +01:00
versioning.rs Change error message when the db version is incompatible with engine version. 2022-12-26 17:34:36 +01:00