Is it true that when you initiate a realm connection you will receive all changes made?
I am creating a node app to move files using change events. We use a Realm server to handle the database of where the files are. But since the realm server har been running for some time, records that were there before have now been deleted.
But when i start the node app and get the data from Realm, i get a history of records. It refers to records that have been deleted, and not the “now” state of the realm.
The app then tries to handle the changes that arrive from changeEvent. Since the records are deleted so are the files and the app crashes.