Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9535dc5

Browse files
authored
Remove redundant Sendable conformance (vapor#263)
We no longer need to retroactively conform PostgresEncodingContext to Sendable; we already require a version of PostgresNIO newer than the one that includes it natively.
1 parent 3d34228 commit 9535dc5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

‎Sources/PostgresKit/PostgresDatabase+SQL.swift‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@ import PostgresNIO
22
import Logging
33
import SQLKit
44

5-
// https://github.com/vapor/postgres-nio/pull/450
6-
#if compiler(>=5.10) && $RetroactiveAttribute
7-
extension PostgresEncodingContext: @retroactive @unchecked Sendable {}
8-
#else
9-
extension PostgresEncodingContext: @unchecked Sendable {}
10-
#endif
11-
125
extension PostgresDatabase {
136
@inlinable
147
public func sql(queryLogLevel: Logger.Level? = .debug) -> some SQLDatabase {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /