Skip to content

Commit ae35a42

Browse files
committed
Update package
1 parent 7384f52 commit ae35a42

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: Sources/Intermodular/Protocol Conformances/CoreData/CoreData+DatabaseRecordSpace.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ extension _CoreData.DatabaseRecordSpace: DatabaseRecordSpace {
134134
}
135135

136136
public func save() -> AnyTask<Void, SaveError> {
137-
return Task { @Sendable in
137+
return Task { @MainActor @Sendable in
138138
@Sendable
139139
func save() -> Result<Void, SaveError> {
140140
do {

Diff for: Tests/_CoreDataTestSuite.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ final class _CoreDataTestSuite: XCTestCase {
118118
func testQuerySubscription() async throws {
119119
try await database.load()
120120

121-
let numberOfEvents = ActorIsolated(value: 0)
121+
let numberOfEvents = ActorIsolated(0)
122122

123123
let subscription = try await database.querySubscription(for: QueryRequest<TestORMSchema.EntityWithSimpleRequiredProperty>())
124124

Diff for: Tests/_SwiftDB_RuntimeTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import XCTest
66

77
@testable import SwiftDB
8-
8+
import SwiftData
99
final class RuntimeTests: XCTestCase {
1010
let runtime = try! _SwiftDB_DefaultRuntime(schema: _Schema(TestORMSchema()))
1111

0 commit comments

Comments
 (0)