Meteor-Community-Packages / meteor-collection-hooks

Meteor Collection Hooks
https://atmospherejs.com/matb33/collection-hooks
MIT License
658 stars 90 forks source link

Support this.transform() in before.upsert #216

Closed zimme closed 7 years ago

zimme commented 7 years ago

This will make this.transform() available in before.upsert in the case when the selector matches documents in the collection. In the case when a new document will be inserted we can’t provide a transformed version of the doc unless we find a way to generate said document from the selector.

zimme commented 7 years ago

Related to #161.