mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-29 03:42:36 +01:00
user #keyPath() for keys in demo app and in unit tests
This commit is contained in:
1 parent
0fa2a23461
commit
e5245a0e5b
27 files changed
+1002
-851
No files matched your search
@@ -66,7 +66,7 @@ final class GroupByTests: BaseTestCase {
|
||||
|
||||
self.prepareStack { (dataStack) in
|
||||
|
||||
let groupBy = GroupBy("testString")
|
||||
let groupBy = GroupBy(#keyPath(TestEntity1.testString))
|
||||
|
||||
let request = NSFetchRequest<TestEntity1>()
|
||||
_ = From<TestEntity1>().applyToFetchRequest(request, context: dataStack.mainContext)
|
||||
|
||||
Reference in new issue
Block a user