fluxxu/mongoose-avalidator — pull request #1 by jeremyworboys (2013-08-19 05:02:28+00:00)
Title: Allow validation to be only defined in the plugin options

This fixes an issue where the pre-validate hook does not get set if validation if defined as part of the plugin options and not directly on any scheme path.