We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67e436e commit a9a3176Copy full SHA for a9a3176
Sources/Hummingbird/Codable/JSON/JSONCoding.swift
@@ -48,14 +48,3 @@ extension JSONDecoder: RequestDecoder {
48
return try self.decode(T.self, from: buffer)
49
}
50
51
-
52
-/// `RequestDecoder` and `ResponseEncoder` both require conformance to `Sendable`. Given
53
-/// `JSONEncoder`` and `JSONDecoder`` conform to Sendable in macOS 13+ I think I can just
54
-/// back date the conformance to all versions of Swift, macOS we support
55
-#if hasFeature(RetroactiveAttribute)
56
-extension JSONEncoder: @retroactive @unchecked Sendable {}
57
-extension JSONDecoder: @retroactive @unchecked Sendable {}
58
-#else
59
-extension JSONEncoder: @unchecked Sendable {}
60
-extension JSONDecoder: @unchecked Sendable {}
61
-#endif
0 commit comments