title: Mongoose: Is it possible to set strict:false after defining the schema, like through a middleware or a plugin?
body: <p>When you define a schema in Mongoose you have an option to set <code>{strict:false}</code></p>
  
  <p>Is there an option to have that set <em>after</em> you've defined the schema? Like through a <a href="http://mongoosejs.com/docs/middleware.html" rel="nofollow">mongoose middleware</a> or a <a href="http://mongoosejs.com/docs/plugins.html" rel="nofollow">mongoose plugin</a>?</p>
  
  <p>I want to create a <a href="http://mongoosejs.com/docs/plugins.html" rel="nofollow">plugin</a> which will need to store some additional data into the database, which I wouldn't be able to unless the plugin user has either set <code>{strict:false}</code> or added the fields that I would want to store data in their schema themselves, both of which are unlikely. So I was wondering if there's a way for me to make that happen from my plugin code itself?</p>