LokiJS icon indicating copy to clipboard operation
LokiJS copied to clipboard

Incorrect implementation of `getObjectDelta`

Open Losses opened this issue 3 years ago • 0 comments

I'm not sure what is this line of code trying to express, but an empty object won't equal to anything except itself, propertyDelta != {} will always return false.

https://github.com/techfort/LokiJS/blob/25b9a33d57509717d43b4da06d92064f2b7a6c95/src/lokijs.js#L5164

@techfort @ChristopherTapLogic

Losses avatar Oct 03 '22 04:10 Losses