Closed ignacioola closed 10 years ago
This is because the object isn't "changing", just a property on it is. This is a bug in moko that I will have to fix. In the mean time, you can do either of these:
p.data = p.data;
p.data.points = 100;
// or
p.data = { points: 100 };
When updating a nested property of an existent model and saving it, it doesn't sync the value to the db.