MeiliSearch/meilisearch/tests
bors[bot] 1e9ac00800
Merge #3505
3505: Csv delimiter r=irevoire a=irevoire

Fixes https://github.com/meilisearch/meilisearch/issues/3442
Closes https://github.com/meilisearch/meilisearch/pull/2803
Specified in https://github.com/meilisearch/specifications/pull/221

This PR is a reimplementation of https://github.com/meilisearch/meilisearch/pull/2803, on the new engine. Thanks for your idea and initial PR `@MixusMinimax;` sorry I couldn’t update/merge your PR. Way too many changes happened on the engine in the meantime.

**Attention to reviewer**; I had to update deserr to implement the support of deserializing `char`s

-------

It introduces four new error messages;
- Invalid value in parameter csvDelimiter: expected a string of one character, but found an empty string
- Invalid value in parameter csvDelimiter: expected a string of one character, but found the following string of 5 characters: doggo
- csv delimiter must be an ascii character. Found: 🍰 
- The Content-Type application/json does not support the use of a csv delimiter. The csv delimiter can only be used with the Content-Type text/csv.

And one error code;
- `invalid_index_csv_delimiter`

The `invalid_content_type` error code is now also used when we encounter the `csvDelimiter` query parameter with a non-csv content type.

Co-authored-by: Tamo <tamo@meilisearch.com>
2023-02-20 17:01:36 +00:00
..
assets serde ndjson fix 2022-12-21 11:27:15 +08:00
auth get rids of the whole error_message module since it has been integrated into the last version of deserr 2023-02-14 20:05:27 +01:00
common test various error on the document ressource 2023-02-16 17:37:10 +01:00
dashboard Renames meilisearch-http to meilisearch 2022-12-08 08:22:53 -07:00
documents Merge #3505 2023-02-20 17:01:36 +00:00
dumps fix the import of dump v2 generated by meilisearch v0.22.0 2023-01-31 13:03:28 +01:00
index add tests on the index resource 2023-01-24 13:20:20 +01:00
search Merge #3461 2023-02-07 11:27:27 +00:00
settings Fix tests 2023-01-19 15:48:20 +01:00
snapshot Merge --schedule-snapshot and --snapshot-interval-sec options 2023-01-04 14:13:54 +01:00
stats Renames meilisearch-http to meilisearch 2022-12-08 08:22:53 -07:00
swap_indexes Fix tests 2023-01-19 15:48:20 +01:00
tasks Fix non insta tests 2023-01-19 16:10:05 +01:00
content_type.rs Fix non insta tests 2023-01-19 16:10:05 +01:00
integration.rs add functionnal + error tests on the swap_indexes route 2023-01-18 09:36:04 +01:00