Skip to content

Commit 3f529f8

Browse files
committed
Bad copy constructor - but somehow everything worked
1 parent 5ee3289 commit 3f529f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/CoreDataQueryInterface/QueryBuilder.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@ public struct QueryBuilder<M: NSManagedObject, R: NSFetchRequestResult> {
2525

2626
init<R2>(copying query: QueryBuilder<M, R2>) {
2727
managedObjectContext = query.managedObjectContext
28+
fetchLimit = query.fetchLimit
29+
fetchOffset = query.fetchOffset
2830
predicates = query.predicates
2931
sortDescriptors = query.sortDescriptors
3032
propertiesToFetch = query.propertiesToFetch
33+
propertiesToGroupBy = query.propertiesToGroupBy
3134
returnsDistinctResults = query.returnsDistinctResults
3235
}
3336

0 commit comments

Comments
 (0)