Skip to content

Commit

Permalink
mark MeowDatabase as sendable (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
sliemeobn authored Jul 10, 2024
1 parent 7c3acbe commit b0619d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Meow/Database.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import NIO
/// let mongodb: MongoDatabase = mongoCluster["superapp"]
/// let meow = MeowDatabase(mongodb)
/// let users: MeowCollection<User> = meow[User.self]
public class MeowDatabase {
public class MeowDatabase: @unchecked Sendable {
public let raw: MongoDatabase

public init(_ database: MongoDatabase) {
Expand Down

0 comments on commit b0619d4

Please sign in to comment.