dart_algolia icon indicating copy to clipboard operation
dart_algolia copied to clipboard

Null exception from `getObjectsByIds` method in case of object not fount

Open papmodern opened this issue 2 years ago • 1 comments

Dart version: 2.18.6 Flutter version: 3.3.10 stable

The getObjectsByIds throws this exception type 'Null' is not a subtype of type 'Map<String, dynamic>'

To Reproduce Just call getObjectsByIds method with some objectId which are not existed in the index

Expected behavior It should return the rest of the objects which are existed and inform the ones that couldn't be found. Or at least it should throw the exception with a clear message about the not found objects

papmodern avatar Jan 02 '23 14:01 papmodern

i can confirm this issue still exists. any update on this? @nhathiwala

shoaibkhalid-int avatar May 13 '24 15:05 shoaibkhalid-int