RecordBox consequence: more TODO

This commit is contained in:
Gwendal Roué committed 2018-01-21 12:05:41 +01:00
1 parent b3a24daa2f
commit 0aa673f24e
1 file changed
+3
+3
View File
@@ -14,6 +14,9 @@
GRDB 3.0
- [ ] Make DatabasePool.write safe. See https://github.com/groue/GRDB.swift/commit/5e3c7d9c430df606a1cccfd4983be6b50e778a5c#commitcomment-26988970
- [ ] Do one of those two:
1. Make save() impossible to customize: remove it from Persistable protocol, and remove performSave() from tne public API.
2. Open Record.save(), and have RecordBox.save() forward this method to its underlying type.
- [ ] Make the MutablePersistable.update(_:columns:) method mutating (as support for an updatedDate column)
- [ ] Introduce some record protocol with an associated primary key type. Restrict filter(key:) methods to this type. Allow distinguishing FooId from BarId types.
- [ ] Rename Request to FetchRequest, because Request is a bad name: https://github.com/swift-server/http/pull/7#issuecomment-308448528