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 e9d4b67 commit a46b194Copy full SHA for a46b194
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