I can't find anything in the docs, but in case I'm missing something, is there any way in Meteor to enrich documents insert
ed from the client on the server before they're sent to Mongo.
The use-case for this is to handle things like setting up timestamps and other (for server-side use only) fields, without having to set them as part of the document on the client.
The obvious method would be to use Meteor.call('addMyNewRecord', publicFields)
then insert
solely from the server-side, but I quite like having the minimongo api on the client-side and I'm hoping to avoid the call
requirement. I know in CouchDB you can do some basic modifications in their on-update
handler but can't seem to find anything similar for Meteor/Mongo.