Skip to content

Commit 441202d

Browse files
authored
Infrastructure: Preserve more sync table type information (#239)
In supporting StructuredQueries 0.22 we began relying on some underscored APIs. Let's instead prefer public, documented APIs wherever possible.
1 parent 4069be9 commit 441202d

File tree

5 files changed

+155
-107
lines changed

5 files changed

+155
-107
lines changed

Sources/SQLiteData/CloudKit/CloudKitSharing.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"""
105105
)
106106
}
107-
guard !privateTables.contains(where: { T.self == $0 })
107+
guard !privateTables.contains(where: { T.self == $0.base })
108108
else {
109109
throw SharingError(
110110
recordTableName: T.tableName,

0 commit comments

Comments
 (0)