Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation: Document.prototype.validateSync returns ValidationError
Sources: 1. https://github.com/Automattic/mongoose/blob/bee1e1b4669185579168d691c214d17077b8bd6e/lib/document.js#L2031 2. https://github.com/Automattic/mongoose/blob/bee1e1b4669185579168d691c214d17077b8bd6e/lib/document.js#L2101 3. https://github.com/Automattic/mongoose/blob/bee1e1b4669185579168d691c214d17077b8bd6e/lib/document.js#L2035
- Loading branch information