I am trying to map an array of \'Comments\' to a Comment entity that has a sub-entity \'testUser\', the person who wrote the comment. Everything is mapping fine as long as t
You haven't shown mappings, and I'm assuming that you have a to-many relationship to support what you're trying to do.
When you create the relationship mapping you need to set the assignmentPolicy
property to RKUnionAssignmentPolicy
. The default policy replaces any existing connection with the new one. This policy will merge the connections instead.