From 1e1f2c5c1fc5ad3afa71efbeb811652e73b9369f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 16 Dec 2015 12:57:53 +0100 Subject: [PATCH] TODO.md --- TODO.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TODO.md b/TODO.md index 81aa00040..deaef0e90 100644 --- a/TODO.md +++ b/TODO.md @@ -6,10 +6,10 @@ - [ ] Now that DatabasePersistable is out, Record has this didInsertWithRowID(:forColumn:) which calls updateFromRow. When we document "The updateFromRow method MUST NOT assume the presence of particular columns. The Record class itself reserves the right to call updateFromRow with arbitrary columns", we are actually talking about didInsertWithRowID, which is now exposed. Users may be confused. - [ ] What happens when RowConvertible.awakeFromFetch and DatabasePersistable.didInsertWithRowID(_:forColumn:) assign to self? Do we need to split RowConvertible into MutableRowConvertible + RowConvertible? - [ ] Check Swift API Guideline https://swift.org/documentation/api-design-guidelines.html - - [ ] databaseTableName, etc. - - [ ] didInsertWithRowID(_:forColumn:) - - [ ] databaseEdited -> hasDatabaseChanges, hasNotPersistedChanges ? Check if doc makes it clear that the changes are based on last fetch. The method name should make it clear too. - - [ ] Read conversion methods conventions (fromRow, fromDatabaseValue) + - [X] databaseTableName, etc. + - [X] didInsertWithRowID(_:forColumn:) + - [ ] databaseEdited -> hasDatabaseChanges, hasNotPersistedChanges, hasPersistentChangedValues (NSManagedObject)? Check if doc makes it clear that the changes are based on last fetch. The method name should make it clear too. + - [X] Read conversion methods conventions (fromRow, fromDatabaseValue) - [X] Row.value(named:) should return nil if column is not there. - [X] Row.value(named:) returns nil if column is not there. - [X] Update Row documentation