diff --git a/Sources/MdocDataModel18013/MdocResponse/IssuerSignedItem.swift b/Sources/MdocDataModel18013/MdocResponse/IssuerSignedItem.swift index 76ec5845..eacaf7cf 100644 --- a/Sources/MdocDataModel18013/MdocResponse/IssuerSignedItem.swift +++ b/Sources/MdocDataModel18013/MdocResponse/IssuerSignedItem.swift @@ -49,8 +49,8 @@ extension CBOR: CustomDebugStringConvertible { case .tagged(let tag, .byteString(let bs)): return "tag \(tag.rawValue) 'ByteString \(bs.count)'" case .unsignedInt(let i): return String(i) case .boolean(let b): return String(b) - case .array(let a): return "[\(a.reduce("", { $0 + ($0.count > 0 ? "," : "") + " \($1.description)" }))]" - case .map(let m): return "{\(m.reduce("", { $0 + ($0.count > 0 ? "," : "") + " \($1.key.description): \($1.value.description)" }))}" + case .array(let a): return "[\(a.reduce("", { $0 + ($0.count > 0 ? "," : "") + " \($1.debugDescription)" }))]" + case .map(let m): return "{\(m.reduce("", { $0 + ($0.count > 0 ? "," : "") + " \($1.key.debugDescription): \($1.value.debugDescription)" }))}" case .null: return "Null" case .simple(let n): return String(n) default: return "Other"