-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Realm
-
Labels:None
Description
The sample code snippet that illustrates event handling for Realm Legacy in Node.js uses indexes to cycle through all the modifications, and shows the requirement to fetch objects from the DB first.
Since version 6 of the SDK, however, the ChangeEvent structure reports directly the modified objects instead of their indexes, avoiding the necessity of a fetch, so the handling is much easier.
The sample code should be modified to reflect the change, as users are confused when they have code based on it.