Missable

public protocol Missable : Decodable, Encodable

Missable is using to wrap objects with enrichment, where they was deleted and dependencies lost the link.

  • Check if the object is a missing reference.

    Declaration

    Swift

    var isMissedReference: Bool { get }
  • A placeholder for a missed object will be use in 2 cases:

    1. A decoding error because a missing reference.
    2. Any decoding error if Client.keepBadDecodedObjectsAsMissed is enabled.

    Declaration

    Swift

    static func missed() -> Self