File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Sources/App/Controllers/API Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,11 @@ extension API {
6161}
6262
6363
64- extension PackageCollectionSigning . Model . SignedCollection : @retroactive Vapor . Content { }
64+ extension SignedCollection : @retroactive RequestDecodable { }
65+ extension SignedCollection : @retroactive ResponseEncodable { }
66+ extension SignedCollection : @retroactive AsyncRequestDecodable { }
67+ extension SignedCollection : @retroactive AsyncResponseEncodable { }
68+ extension SignedCollection : @retroactive Content { }
6569
6670
6771extension API {
Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ import Fluent
2121// MARK: - Useful extensions
2222
2323
24- extension Foundation . URL : Swift . ExpressibleByStringLiteral {
24+ extension URL : @retroactive ExpressibleByExtendedGraphemeClusterLiteral { }
25+ extension URL : @retroactive ExpressibleByUnicodeScalarLiteral { }
26+ extension URL : @retroactive ExpressibleByStringLiteral {
2527 public init ( stringLiteral value: String ) {
2628 precondition ( !value. isEmpty, " cannot convert empty string to URL " )
2729 self = URL ( string: value) !
You can’t perform that action at this time.
0 commit comments