Parse.Object.set
sliently handles validation errors
#2104
Labels
state:breaking
Breaking change requires major version increment and `BREAKING CHANGE` commit message
type:feature
New feature or improvement of existing feature
New Issue Checklist
Issue Description
You can pass an option in set to handle validation errors. The problem is this option isn't well documented and isn't widely used. This method of error handling is called backbone and was removed in 2.0.0.
Removing this in favor of an thrown error is a breaking change as a lot of code uses
.set
. The main errors are for invalid key names and invalid ACL.Steps to reproduce
Actual Outcome
If option not passed, error is silently handled
Expected Outcome
An Error should be thrown
Environment
Server
6.1.0
MacOS
local
Database
Mongo
6.0.29
local
Client
5.0.0
Logs
The text was updated successfully, but these errors were encountered: