diff --git a/TODO.md b/TODO.md index 31594bd91..791fe0903 100644 --- a/TODO.md +++ b/TODO.md @@ -4,3 +4,8 @@ - [ ] Since Records' primary key are infered, no operation is possible on the primary key unless we have a Database instance. It's impossible to define the record.primaryKey property, or to provide a copy() function that does not clone the primary key: they miss the database that is the only object aware of the primary key. Should we change our mind, and have Record explicitly expose their primary key again? - [ ] See if we can avoid the inelegant `dbQueue.inTransaction(.Deferred) { ...; return .Commit }` that is required for isolation of select queries, without introducing any ambiguity. - [ ] Use unsafeAddressOf instead of unsafeBitCast when possible. +- [ ] Metal: review all fetch() methods, and make sure they are safe. Provide metalSafe() variant if needed. +- [ ] Metal: blob of metal row should not copy data. +- [ ] Metal: How does the code look like when one iterates metal row and extracts NSData without copy? +- [ ] Metal: RowConvertible/Record should be able to opt-in for metal. +- [ ] Metal: Row.copy() returns a safe row. Record that opt-in for metal should store such a copy in their referenceRow.