Skip to content

Commit 4004656

Browse files
algolia-botmillotp
andcommitted
fix(clients): correctly deserialize SearchResult (generated)
algolia/api-clients-automation#4756 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
1 parent e77b120 commit 4004656

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/algoliasearch/lib/src/api/search_client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ final class SearchClient implements ApiClient {
111111
);
112112
}
113113

114-
/// Sends multiple search requests to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters.
114+
/// Sends multiple search requests to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters. Use the helper `searchForHits` or `searchForFacets` to get the results in a more convenient format, if you already know the return type you want.
115115
///
116116
/// Required API Key ACLs:
117117
/// - search

packages/client_search/lib/src/api/search_client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1952,7 +1952,7 @@ final class SearchClient implements ApiClient {
19521952
);
19531953
}
19541954

1955-
/// Sends multiple search requests to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters.
1955+
/// Sends multiple search requests to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters. Use the helper `searchForHits` or `searchForFacets` to get the results in a more convenient format, if you already know the return type you want.
19561956
///
19571957
/// Required API Key ACLs:
19581958
/// - search

0 commit comments

Comments
 (0)