Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null exception from getObjectsByIds method in case of object not fount #107

Open
papmodern opened this issue Jan 2, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@papmodern
Copy link

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 papmodern added the bug Something isn't working label Jan 2, 2023
@shoaibkhalid-int
Copy link

shoaibkhalid-int commented May 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants