colemancda / NetworkObjects

Swift backend / server framework (Pure Swift, Supports Linux)
MIT License
259 stars 29 forks source link

CoreData -validateForDelete not working properly #104

Closed colemancda closed 9 years ago

colemancda commented 9 years ago

Deleting a managed object in Server will result in a validation error if the managed object contains a relationship with a non-nil value.

This project's test cases document the problem: https://github.com/evandelaney/StackOverflow-20722804

Here's the SO discussion: http://stackoverflow.com/questions/20722804/coredata-how-to-use-validatefordelete-to-determine-if-a-managed-object-should

colemancda commented 9 years ago

Not applicable for #PureSwift release (v3.0)