Object1: Object
- id: String
- title: String
- items: [Object2]
Object2: EmbeddedObject
- id: String
- title: String
- items: [Object3]
Object3: EmbeddedObject
- id: String
- title: String
- color: String
Above is a sample of the schema I have, however, for some odd reason I am consistently getting this error in RealmSwift whenever I try to add Object1 to the realm.
*** Terminating app due to uncaught exception 'RLMException', reason: 'Cannot add an existing managed embedded object to a List.'