mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Transactions not saving changes #340
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iby on GitHub (Aug 28, 2020).
Either I'm doing something stupid or got a really weird one… The following is performed on the main thread, tried with
waitForAllObservers: falseand asynchronous. It runs fine, other observers get notified of changes, all goes smoothly. As soon as I reload the app I see models showing old unmodified data.What's weird is that model reports changes after updating, but transaction isn't. The model object looks as follows:
Can you think of anything what might be causing this?
@iby commented on GitHub (Aug 28, 2020):
Ah yes, I'm an epic moron. Never mind me… 🤦♂️
@gardyna commented on GitHub (Dec 10, 2020):
@ianbytchek thanks for the helpfull comment. can you please tell me what was wrong?
@iby commented on GitHub (Dec 10, 2020):
To be honest I don't remember, but I think I was editing a model that was not saved.