I want to sync an object between iPhone and Apple Watch during a workout session, with the startMirroringToCompanionDevice function. It works fine if the class is no model, but as soon as I declare them as @Model, I get the problem that the JSON decoder creates a new Object. Now, SwiftData tries to insert these objects again.
Is there another way to sync SwiftData objects?
Or is there a way to create an object, which consists of multiple @Model objects, without the need to insert it instantly into the model context?