Fix the error code returned when the facetName field is missing

This commit is contained in:
Kerollmops 2023-06-07 11:14:14 +02:00 committed by Louis Dureuil
parent 41760a9306
commit cb0bb399fa
No known key found for this signature in database
3 changed files with 6 additions and 1 deletions

View file

@ -151,6 +151,10 @@ make_missing_field_convenience_builder!(MissingApiKeyExpiresAt, missing_api_key_
make_missing_field_convenience_builder!(MissingApiKeyIndexes, missing_api_key_indexes);
make_missing_field_convenience_builder!(MissingSwapIndexes, missing_swap_indexes);
make_missing_field_convenience_builder!(MissingDocumentFilter, missing_document_filter);
make_missing_field_convenience_builder!(
MissingFacetSearchFacetName,
missing_facet_search_facet_name
);
// Integrate a sub-error into a [`DeserrError`] by taking its error message but using
// the default error code (C) from `Self`