open encoder

This commit is contained in:
Hedden, Kyle Matthew 2024-01-11 18:17:06 -05:00
parent 8306f901bd
commit 8a62065ade

View File

@ -46,7 +46,7 @@ import Foundation
thickness = try typeContainer.decodeIfPresent(CGFloat.self, forKey: .thickness)
}
public func encode(to encoder: Encoder) throws {
open func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encode(id, forKey: .id)
try container.encode(moleculeName, forKey: .moleculeName)