Make a mess of things. Article and ArticleStatus are now immutable structs.

This commit is contained in:
Brent Simmons
2017-09-04 17:10:02 -07:00
parent fb121f8a8c
commit b0cb01a68e
13 changed files with 560 additions and 119 deletions

View File

@@ -126,7 +126,7 @@ private extension DatabaseLookupTable {
let relatedObjectsToSave = uniqueArrayOfRelatedObjects(with: objectsNeedingUpdate)
if relatedObjectsToSave.isEmpty {
assertionFailure("updateRelationships: expected related objects to save. This should be unreachable.")
assertionFailure("updateRelationships: expected relatedObjectsToSave would not be empty. This should be unreachable.")
return
}