I get this error with NSBatchDeleteRequest in the model I have...
Constraint violation: Batch delete failed due to mandatory OTO nullify inverse on Leg/parentNode
The model is like this:
- Entity Node, has non-optional to-many relationship to entity Leg, with cascade delete rule
- Entity Leg has non-optional to-one relationship to entity Node, with nullify delete rule
What is the reason for the error and how should I alter the model to prevent this?