-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dangerous json parse operation #9
Labels
question
Further information is requested
Comments
This was referenced Jul 25, 2023
abnegate
added
question
Further information is requested
and removed
bug
Something isn't working
labels
Mar 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sdk-for-swift/Sources/AppwriteModels/Document.swift
Line 66 in 51f325b
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?
The text was updated successfully, but these errors were encountered: