Fun #SwiftData bug for the day - adding var isDeleted = false to your model looks exactly like a normal persisted property, and can be accessed through queries and everything, but it doesn't get persisted because it shares a name with a property on Model.
Add comment