-
-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Labels
Description
According to the documentation of an .after.update
hook:
The optional fetchPrevious option, when set to false,
will not fetch documents before running the hooks.
But really the documents are fetched anyway regardless of this option set to false.
It happens here:
meteor-collection-hooks/update.js
Line 24 in 1c4de62
docs = CollectionHooks.getDocs.call(this, instance, selector, options).fetch() |
The documents are fetched to get their ids that are later used in the
.after.update
hook.I don't see an easy way to make the option work as it should. So I believe it needs a proper description in the documentation. Because currently both the name of the option and its description are misleading. Thanks!
mfen
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo