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 8d0e236 commit cb1e3c9Copy full SHA for cb1e3c9
Sources/Helpers/AnyJSON/AnyJSON+Codable.swift
@@ -9,10 +9,10 @@ import Foundation
9
10
extension AnyJSON {
11
/// The decoder instance used for transforming AnyJSON to some Codable type.
12
- @TaskLocal public static var decoder: JSONDecoder = JSONDecoder.supabase()
+ public static let decoder: JSONDecoder = JSONDecoder.supabase()
13
14
/// The encoder instance used for transforming AnyJSON to some Codable type.
15
- @TaskLocal public static var encoder: JSONEncoder = JSONEncoder.supabase()
+ public static let encoder: JSONEncoder = JSONEncoder.supabase()
16
}
17
18
0 commit comments