Simon Fridlund

Results 112 comments of Simon Fridlund

Yes, I see now... The problem is that this package isn't promise/async aware. i.e. the `.insert` method is actually called right after the hook has run and then in the...

I haven't had time to look at this, but as I wrote in my last reply. I would accept a PR for this. https://github.com/matb33/meteor-collection-hooks/blob/master/find.js#L17 https://github.com/matb33/meteor-collection-hooks/blob/master/findone.js#L17 https://github.com/matb33/meteor-collection-hooks/blob/master/insert.js#L17 https://github.com/matb33/meteor-collection-hooks/blob/master/remove.js#L31 https://github.com/matb33/meteor-collection-hooks/blob/master/update.js#L50 https://github.com/matb33/meteor-collection-hooks/blob/master/upsert.js#L44 In...

I haven't had a need for this and that's the reason I haven't gotten to implementing this... I only do work on features for open-source work when I need it...

@gregory I would happily accept a PR for this =)

To be honest I don't believe that the approach this package takes, is a good one any longer. Subclassing Mongo.Collection would be "better", but even better in my world would...

If any fixes are needed to resolve this I'm happy to accept a PR. I don't have time to look into this issue, but If I do I'll let you...

Server side or client side?

I've tried looking around a bit for this and I can't find any reference to `MONGO_OBJECT_REMOVED` in either this package, meteor or mongodb node driver. A reproduction repo would probably...

`test.direct.update`

https://github.com/matb33/meteor-collection-hooks#direct-access-circumventing-hooks