automerge / hypermerge

Build p2p collaborative applications without any server infrastructure in Node.js
MIT License
1.28k stars 66 forks source link

Document ids should be differentiated from actor ids #23

Closed mjtognetti closed 4 years ago

mjtognetti commented 5 years ago

There are several places in the codebase where document ids and actor ids are user interchangeably. This makes it hard to know what value you're actually working with.

I believe this problem stems from the decision to make the id of a document the same as the actor id of the initial actor. We should differentiate these in a meaningful way.

mjtognetti commented 4 years ago

resolved!