bug: validateSync() fails on modelless documents #8272
Labels
enhancement
This issue is a user-facing general improvement that doesn't fix a bug or add a new feature
Milestone
Do you want to request a feature or report a bug?
bug
What is the current behavior?
relates to #8237 - now you can create a document, but you can't validate it.
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
validateSync() works as expected
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
node 10, mongoose master
The text was updated successfully, but these errors were encountered: