Meteor 2.8 and matb33:collection-hooks

Hello,
When I try to do this :

MyCollection.direct.insertAsync(myObject)

I got : Uncaught TypeError: MyCollection.direct.insertAsync is not a function

Does the package matb33:collection-hooks will need to be migrated to 2.8 too ?

Thanks

Hi, yes. These new methods still don’t exist there.

And it already has an open issue for this Support to Meteor 2.8 and Mongo async methods · Issue #288 · Meteor-Community-Packages/meteor-collection-hooks · GitHub.

Maybe you could ping Storyteller there again or open a PR with the implementation.

1 Like