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
Prior to v13.11.0 calling Results.snapshot() on a Results from a collection of object would snapshot the results so that they would be usable even if the collection got deleted.
Actual Results
When you delete a collection accessing Results.size() fails, even if snapshot() was called prior to the deletion. This change was introduced by this commit.
Steps & Code to Reproduce
This change caused a failure in the realm-js tests. If the behavior change in core is correct, we can change the tests to reflect this, but we want to be sure that we aren't just papering over a user-facing breaking change in core.
Core version
Core version: v13.11.0
The text was updated successfully, but these errors were encountered:
Expected results
Prior to v13.11.0 calling
Results.snapshot()
on aResults
from a collection of object would snapshot the results so that they would be usable even if the collection got deleted.Actual Results
When you delete a collection accessing
Results.size()
fails, even ifsnapshot()
was called prior to the deletion. This change was introduced by this commit.Steps & Code to Reproduce
This change caused a failure in the realm-js tests. If the behavior change in core is correct, we can change the tests to reflect this, but we want to be sure that we aren't just papering over a user-facing breaking change in core.
Core version
Core version: v13.11.0
The text was updated successfully, but these errors were encountered: