Closed ahmednfwela closed 11 months ago
Patch coverage: 70.06%
and project coverage change: -0.81%
:warning:
Comparison is base (
758a4b8
) 82.84% compared to head (6ebd988
) 82.03%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Build succeeded:
Pull Request
Related issue
Fixes #335 Fixes #337 Fixes #338 Starts work on #276
What does this PR do?
In this PR the main feature is adding
MeiliDocumentContainer<T>
, which wraps around documents returned by meilisearch and adds typed, useful information to them.I have also added a dependency on json_serializable to generate serialization information for models (
toJson
+fromJson
), but I will be rolling all models gradually.Here is the complete list of changes:
CONTRIBUTING.md
to include instructions on generatingjson_serializable
files.getExperimentalFeatures
andupdateExperimentalFeatures
toMeiliSearchClient
SearchQuery
andIndexSearchQuery
3.1.List? vector
3.2.bool? showRankingScore
3.3.bool? showRankingScoreDetails
MeiliDocumentContainer<T>
Map<String, dynamic> src
to SearcheableSearcheable<T>
had a wrongmatchesPosition
property, which I have moved intoMeiliDocumentContainer<T>
Searcheable<T>
constructor asrequired
REASON: just in case we forget to add them inPaginatedSearchResult<T>
orSearchResult<T>
PR checklist
Please check if your PR fulfills the following requirements:
.code-samples.meilisearch.yml
filesThank you so much for contributing to Meilisearch!