Loïc Lecrenier
766dd830ae
Update deserr to latest version + add new error codes for missing fields
...
- missing_api_key_indexes
- missing_api_key_actions
- missing_api_key_expires_at
- missing_swap_indexes_indexes
2023-01-17 09:43:07 +01:00
Loïc Lecrenier
436ae4e466
Improve error messages generated by deserr
...
Split Json and Query Parameter error types
2023-01-17 09:43:07 +01:00
bors[bot]
a5c4fbbcea
Merge #3334
...
3334: Add specific error codes `immutable_...` r=irevoire a=loiclec
Add the following error codes:
When an immutable field of API key is sent to the `PATCH /keys` route:
- `ImmutableApiKeyUid`
- `ImmutableApiKeyKey`
- `ImmutableApiKeyActions`
- `ImmutableApiKeyIndexes`
- `ImmutableApiKeyExpiresAt`
- `ImmutableApiKeyCreatedAt`
- `ImmutableApiKeyUpdatedAt`
When an immutable field of Index is sent to the `PATCH /indexes/{uid}` route:
- `ImmutableIndexUid`
- `ImmutableIndexCreatedAt`
- `ImmutableIndexUpdatedAt`
Co-authored-by: Loïc Lecrenier <loic.lecrenier@me.com>
Co-authored-by: Tamo <tamo@meilisearch.com>
2023-01-12 15:31:38 +00:00
Tamo
21b8cd53b7
reformat
2023-01-12 16:20:24 +01:00
Loïc Lecrenier
7f80b116bc
Add specific immutable_field error codes
2023-01-12 16:20:14 +01:00
Tamo
705fcaa3b8
reformat the imports
2023-01-12 14:09:15 +01:00
Loïc Lecrenier
a09b6a341d
Move tasks route to deserr
2023-01-12 13:57:29 +01:00
Tamo
387874ea26
test the error codes on the task routes
2023-01-12 13:46:19 +01:00
Tamo
a68ac3a1dc
reformat the headers
2023-01-11 19:08:39 +01:00
Loïc Lecrenier
b0b7ad7caf
Apply review suggestions
2023-01-11 19:08:39 +01:00
Loïc Lecrenier
1fc11264e8
Refactor deserr integration
2023-01-11 19:08:39 +01:00
Loïc Lecrenier
9ab791bedc
Update error codes on the api key routes
2023-01-09 12:30:25 +01:00
Loïc Lecrenier
96105a5e8d
Update error codes on the documents/ routes
2023-01-09 12:30:25 +01:00
Tamo
50ce0409bc
Integrate deserr on the most important routes
2023-01-05 20:48:29 +01:00
Kerollmops
7b2f2a4f9c
Do only one convertion to u64
2022-12-13 15:31:55 +01:00
Kerollmops
5d5615ef45
Rename the ReceivePayload error variant
2022-12-13 15:07:35 +01:00
jiangbo212
23c1b223b3
Merge branch 'fix-3037' of github.com:jiangbo212/meilisearch into fix-3037
2022-12-13 10:41:50 +08:00
jiangbo212
87ae0032bf
review change
2022-12-13 10:41:43 +08:00
jiangbo212
7c24fea9f2
Merge branch 'main' into fix-3037
2022-12-13 05:16:03 +08:00
jiangbo212
fa46dfb7bb
fmt fix
2022-12-12 22:02:56 +08:00
jiangbo212
169682d3ec
Merge branch 'main' into fix-3037-new
2022-12-12 21:36:10 +08:00
Colby Allen
ad2b1467da
Renames meilisearch-http to meilisearch
2022-12-08 08:22:53 -07:00