balderdashy / balderdashy/sails
Configure hook order?
- Dominant language
- JavaScript
- Stars
- 22.8k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
I'd like to define (and potentially release) a couple of hooks which modify the models and associated functions created by `sails-hook-orm`. Is there a way to configure the order of hook loading/execution?
I've noticed a couple of issues asking the same question (https://github.com/balderdashy/sails/issues/2517, https://github.com/balderdashy/sails/issues/4338), but no response and nothing in the hooks docs (https://sailsjs.com/documentation/concepts/extending-sails/hooks/hook-specification).
Contributor guide
Research direction
Start with the hook specification documentation and the related issues #2517 and #4338 to establish the current hook loading and execution behavior. Done would require a clear answer on whether hook order can be configured and, if so, documented configuration guidance or a defined implementation path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100