drewmccormack / ensembles

A synchronization framework for Core Data.
MIT License
1.63k stars 131 forks source link

Store framework version in events #120

Open drewmccormack opened 10 years ago

drewmccormack commented 10 years ago

We currently store the model hashes with events, so we can identify models that are unknown and pull out of a merge.

It would be good to also have major framework versions. If changes are made to the framework that could confuse older versions of the framework, we could bump this version.

Each event would record the framework version, and if a version is found that is newer than the current framework, an error arises.