SwiftData & context

Hello Developers, So I am having a problem, I wanted to do some computation after I have called context.save() but looking at context.changedModelsArray i see that there is no models that have changed. I have also checked insertedModelsArray and deletedModelsArray and all they're empty. Does swiftdata not support or keep track of the models being deleted/changed/inserted?

Did you try checking before calling context.save() but after having edited? Once it has been saved these will be empty.

SwiftData & context
 
 
Q