Skip to content

Commit 40e4a9f

Browse files
committed
Updated MongoModelStorage
1 parent d3ee009 commit 40e4a9f

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Sources/MongoDBModel/MongoDatabase.swift

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@ import Foundation
22
@_exported import CoreModel
33
@_exported import MongoSwift
44

5-
public actor MongoModelStorage: ModelStorage {
5+
public struct MongoModelStorage: ModelStorage {
66

77
public let database: MongoDatabase
88

99
public let model: Model
1010

11-
public init(database: MongoDatabase, model: Model) {
11+
public init(
12+
database: MongoDatabase,
13+
model: Model
14+
) {
1215
self.database = database
1316
self.model = model
1417
}

0 commit comments

Comments
 (0)