v0.7.1 #36
1 changed files with 2 additions and 1 deletions
|
|
@ -7,7 +7,8 @@
|
|||
|
||||
import Foundation
|
||||
|
||||
extension Set: RawRepresentable where Element: Codable {
|
||||
// Silenced due to removal in later Ferrite versions
|
||||
extension Set: @retroactive RawRepresentable where Element: Codable {
|
||||
public init?(rawValue: String) {
|
||||
guard let data = rawValue.data(using: .utf8),
|
||||
let result = try? JSONDecoder().decode(Set<Element>.self, from: data)
|
||||
|
|
|
|||
Loading…
Reference in a new issue