Closed patrickhartling closed 7 years ago
@danielbroad Have you had a chance to look at this? If there is a better way to solve the issue, I would be happy to try it.
I know i need to check this over. Because its not backwards compatible i'm not sure how to proceed.
I ran into an issue in the ECD many-to-many relationship support. To reproduce the problem, the following must exist in the managed object model:
I added a test case that demonstrates the problem with using
NSFetchRequest
when that exists. There is anAccount
entity with two many-to-many relationships:transferToAccounts
(the destinationAccount
s) andtransferFromAccounts
(the receivingAccount
s).The patch I made fixes my problem, but I suspect that it would introduce an incompatibility with existing databases that have many-to-many relationships. I do not know how to resolve that.