Don't throw 400 when validation fail in Model.save() #14
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sometimes, models are created as a side effect and not primary intent.
Throwing a 400 when a model fails validation on save if the request was not explicitely made to save that model is a mistake and should instead throw a 500.