Dangerous json parse operation
https://github.com/appwrite/sdk-for-swift/blob/51f325b11ea10949cf12af363fc5fb4f652abbf2/Sources/AppwriteModels/Document.swift#L66
Not long ago, I updated libraries and encountered a crash during the parsing attempt. My old implementation was harmless because, in the event of a failed parse, I would simply return nil from the init method. This occurred when the server processed new data, and a failed parse was necessary for filtration purposes. Now, we need to utilize this parser, which even doesn't provide me with the opportunity to handle errors. Is it possible to remove the exclamation mark (!) from this line?
Hi @ftp27 , I am not sure if we could do that but @wess what are your thoughts?