[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
`AlgoliaIndexReference.facetQuery` should accept facets without `objectID` #88
Closed
Chralu closed 2 years ago
Flutter version: 2.10.3 (stable)
Describe the bug When querying a simple
string
facet, library throws a"type 'Null' is not a subtype of type 'String'"
error.To Reproduce Steps to reproduce the behavior:
string
propertyIt will throw an error when converting Algolia response to
AlgoliaFacetValueSnapshot
.Expected behavior
AlgoliaFacetValueSnapshot.objectID
should acceptnull
value.