我试图在自托管解析中向数组添加数据。
这是我的代码。
notification.addUniqueObjects(from: [currentUser], forKey: "readMembers")
notification.saveEventually()
我收到此错误
Warning: `BFTask` caught an exception in the continuation block. This behavior is discouraged and will be removed in a future release. Caught Exception: Invalid type in JSON write (_SwiftValue)