objectbox-dart icon indicating copy to clipboard operation
objectbox-dart copied to clipboard

[Sync] Add existing entities/data

Open richard457 opened this issue 3 years ago • 2 comments

If someone start without sync, can sync be added later?

richard457 avatar Jun 04 '21 18:06 richard457

Sync can be added to an existing database, but currently only to new entities. Changing existing entities brings up new issues (like how should the data be merged?) so it's not something available right now. In the future there may be a mechanism to change existing entities to synced, while taking care of said issues.

vaind avatar Jun 30 '21 13:06 vaind

Commenting on the above, as many of the apps will be onboarded later on sync it is very important to smoothly add sync to an existing model with that being said, let me also propose, I assume with little knowledge I have about sync, but I know you need to add Sync on top of entity here comes my Question: How Can I pause sync of specific Model kind of filter, let say I have clients that use the DB and re-sync when I want, this can be useful for example if a client is on the basic model of payment, etc... maybe this has been addressed I do know, but I wish to have convo going. @vaind

richard457 avatar Jul 01 '21 18:07 richard457