[Unofficial] Algolia is a pure dart SDK, wrapped around Algolia REST API for easy implementation for your Flutter or Dart projects.
117
stars
112
forks
source link
setAttributesToHighlight method should allow adding empty array #110
Open
RBT22 opened 1 year ago
Fix for https://github.com/knoxpo/dart_algolia/issues/99
setAttributesToHighlight method should allow us to add an empty Lists as per the algolia api documentation. ref link - algolia.com/doc/api-reference/api-parameters/attributesToHighlight/#parameter-overview:~:text=Pass%20an%20empty,in%20API%20responses.
Problem was:
Uri's queryParameters parameter doesn't keep empty lists, so we have to pass those as Strings