-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
* Adding runValidators As mentioned here: #73 Still needs a test. * added missing comma * Add tests and params.mongoose support for update and patch
- Loading branch information
There are no files selected for viewing
4 comments
on commit cedd549
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw @marshallswain modified the service.js file to run validators on update which is great, why don't you put context: 'query' in options to make "this" refer the document in validators instead of being null ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@quick691fr That's a great idea. Do you want to make a PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marshallswain Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And merged and shipped!
Any reason for removing the comment?