HashableAliasingStrategy
public class HashableAliasingStrategy : RedundancyAliasingStrategy
An implementation of RedundancyAliasingStrategy that defines alias-ability by Hashable-Equality. i.e. if two values are Hashable-Equal, they will be aliased in the resultant YML document.
-
Initialize a new HashableAliasingStrategy
Declaration
Swift
public init()
-
Declaration
Swift
public func alias(for encodable: any Encodable) throws -> RedundancyAliasingOutcome
-
Declaration
Swift
public func releaseAnchorReferences() throws