A Meteor package that extends Mongo.Collection to provide support for specifying a schema and then validating against that schema when inserting and updating.
We've written schemas for all of our collections, but we think there are a few mistakes in them. We'd like to turn them on in production, but in a way that console.logs any errors without actually stopping the insert or update.
We've written schemas for all of our collections, but we think there are a few mistakes in them. We'd like to turn them on in production, but in a way that
console.log
s any errors without actually stopping theinsert
orupdate
.Is this possible?