You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has bit me before where data did not go through the defined getters/setters where I had some business rules.
Another good use case just came up with someone who wanted to save an array in MySql, which does not support arrays natively like Postgres. They had a property defined like this:
Failed to load resource: the server responded with a status of 400 (Bad Request)
Error occurred:
Error: string violation: verifyChanges cannot be an array or an object
The text was updated successfully, but these errors were encountered:
This has bit me before where data did not go through the defined getters/setters where I had some business rules.
Another good use case just came up with someone who wanted to save an array in MySql, which does not support arrays natively like Postgres. They had a property defined like this:
Results in the following error:
The text was updated successfully, but these errors were encountered: