不要怂,就是干,撸起袖子干!

Commit a03a14ba by Stefan Kleeschulte

Improved validationFailed hook documentation, updated generated api docs

1 parent ea444d31
Showing with 2 additions and 1 deletions
...@@ -227,7 +227,8 @@ Hooks.hasHooks = Hooks.hasHook; ...@@ -227,7 +227,8 @@ Hooks.hasHooks = Hooks.hasHook;
/** /**
* A hook that is run when validation fails * A hook that is run when validation fails
* @param {String} name * @param {String} name
* @param {Function} fn A callback function that is called with instance, options, error * @param {Function} fn A callback function that is called with instance, options, error. Error is the
* SequelizeValidationError. If the callback throws an error, it will replace the original validation error.
* @name validationFailed * @name validationFailed
*/ */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!