peer-base / js-delta-crdts

Delta State-based CRDTs in Javascript
192 stars 16 forks source link

Add object equality support for rwlwwset #45

Closed jayaddison closed 4 years ago

jayaddison commented 4 years ago

This change enables object equality checks for the rwlwwset type via the existing objectKey function.

Test coverage is added based on similar functionality from the aworset type.

jayaddison commented 4 years ago

@pgte Here's a small change I've found useful for local application development; glad to hear if this seems reasonable or if there'd a better / more general way of solving this.

pgte commented 4 years ago

Makes sense, good catch!