Allow register hooks with `enforce: before|after`
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 960
- Forks
- 43
- Avg merge
- 19m
- Merged PRs (30d)
- 1
Description
(currently only solution is to directly unshift hooks)
Example workaround: https://github.com/pi0/nitro-cloudflare-dev/commit/cab495ae35a33141d6515d1b7ead4e724bfe85cc#diff-edda23e3c99a9f21a2e76aaa83978aef76b28e43fe72e672d9096f4c91351cb0R41
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named in the issue. Start by examining the hook registration API and the linked nitro-cloudflare-dev workaround to understand the current ordering behavior. Done means registration supports an enforce option with before and after behavior without direct hook-array manipulation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100