-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
?
-
3262
-
Not Needed
Problem
Im currently working with Automapper in my Project to Map from an DTO to a RealmObject that also contains an EmbeddedObject.
The problem is that Automapper gets the instance of the nested Object, maps it's Properties and then tries to set the exact same instance back to the field via the setter.
This causes Realm to throw an
Realms.Exceptions.RealmException Can't link to an embedded object that is already managed
event though the RealmObject and the nested Object are the same instances. Would it be possible for realm to check if the EmbeddedObject is getting reassigned to the same Parent Instance and so no new link has to be established ?
Solution
No response
Alternatives
No response
How important is this improvement for you?
I would like to have it but have a workaround
Feature would mainly be used with
Atlas Device Sync