Further name changes
This commit is contained in:
parent
e41f3039e4
commit
46e76f0b47
@ -28,7 +28,7 @@ extension KeyedDecodingContainer where Key : CodingKey {
|
||||
return models
|
||||
}
|
||||
|
||||
public func decodeArrayIfPresent(codingKey: KeyedDecodingContainer<K>.Key) throws -> [MoleculeProtocol]? {
|
||||
public func decodeMoleculesIfPresent(codingKey: KeyedDecodingContainer<K>.Key) throws -> [MoleculeProtocol]? {
|
||||
return try decodeModelsIfPresent(codingKey: codingKey, typeCodingKey: TypeCodingKey.moleculeName) as? [MoleculeProtocol]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user