You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Out of bounds error messages from Core for nested collections currently report the requested index of the nested collection, but not the nested path. E.g.:
nested_empty_list=[];obj.mixed=[nested_empty_list];// Throws e.g.: Requested index 1 calling set_collection() on list 'MixedClass.mixed' when emptyobj.mixed[0][1];
Describe the solution you'd like
It would be clearer if the nested path could be depicted as well, e.g.:
Requested index 1 calling set_collection() on list 'MixedClass.mixed[0]' when empty
Describe your problem or use case
Out of bounds error messages from Core for nested collections currently report the requested index of the nested collection, but not the nested path. E.g.:
Describe the solution you'd like
It would be clearer if the nested path could be depicted as well, e.g.:
Additional context
realm-core/src/realm/collection.hpp
Lines 273 to 280 in f294a0b
The text was updated successfully, but these errors were encountered: