The current hash helper looks like this:
public class JSONNull: Codable, Hashable {
...
public var hashValue: Int {
return 0
}
...
}
It should be updated with this:
public class JSONNull: Codable, Hashable {
...
public func hash(into hasher: inout Hasher) {
hasher.combine(0)
}
...
}
Cheers!
The current hash helper looks like this:
It should be updated with this:
Cheers!