We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a9de7c commit cd4290aCopy full SHA for cd4290a
Sources/AWSLambdaEvents/Utils/HTTP.swift
@@ -74,7 +74,7 @@ extension String.UTF8View {
74
}
75
76
77
-extension HTTPResponse.Status: Codable {
+extension HTTPResponse.Status: @retroactive Codable {
78
public func encode(to encoder: any Encoder) throws {
79
var container = encoder.singleValueContainer()
80
try container.encode(self.code)
@@ -86,7 +86,7 @@ extension HTTPResponse.Status: Codable {
86
87
88
89
-extension HTTPRequest.Method: Codable {
+extension HTTPRequest.Method: @retroactive Codable {
90
91
92
try container.encode(self.rawValue)
0 commit comments