Simon Fridlund
Simon Fridlund
Found where things need to be changed for this to be supported, it seems the `git-raw-commits` package supports getting the committer and author emails by using the placeholders from git...
I'll look into wrapping `LocalCollection._modify` and attaching it to `this` inside the hooks.
Wrap `Projects.insert` calls with `try`/`catch` and I believe that would catch errors throw inside its hooks.
This package doesn't work or doesn't work properly with Meteor 1.6+ https://github.com/meteor/meteor/issues/9383 I have a branch meteor-1.6.1. where I've tried to work around this but I didn't have time to...
Version previous to Meteor 1.6.1 "should" work.
I'll need a repoduction repo to be able to help you with this. I need to see the problem and be able to follow the code down to Meteor's mongo/mini...
I looked at the code once more of your "own" version and the problem is that you don't strip out the "optional" `options` object from `args` before you the code...
I'll try and add a note about this in the docs. I'm also thinking that an option to change the current behaviour to the expectation in this issue, would be...
``` Units.before.insert(async function (userId, doc) { const nextSeq = await getNextSequence('unitId'); console.log(nextSeq); doc._id = nextSeq; ........ }); ``` Should probably work. But using an async function here will result in...
Closing this, @ping me if you need this re-opened.