peer-base / js-delta-crdts

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

Feat: set value uniqueness #17

Closed pgte closed 5 years ago

pgte commented 5 years ago

Fixes #15

parkan commented 5 years ago

I think this is a fine first pass, though I wonder if we should try to use native serialization facilities (dag-cbor?) with stable field order, serialization optimizations, etc

pgte commented 5 years ago

In light of what was currently discussed in #15, these last changes now provide a way to calculate and use object equality using a hash value.

pgte commented 5 years ago

I'm going to merge this now. Discussion can continue in #15.