Meteor-Community-Packages / Meteor-Community-Packages/denormalize
Migration on collections with hooks in place
Open
- Dominant language
- JavaScript
- Stars
- 20
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
I have before.find and before.update hooks in place to realize authorization on my collections.
Normally I use .direct to bypass those hooks in the migrations. Is there a possibility to use .direct when running the migrate() function?
Thanks!
Contributor guide
Research direction
No file or test is named. Start by tracing the migrate() entry point and the existing .direct path, then determine whether migrations can bypass the before.find and before.update hooks; done means migrations support the requested direct behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, mongodb
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100