Automattic / Automattic/mongoose

Support manipulating pre hooks as an array

Open
#4,359 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
27.5k
Forks
4k
Avg merge
2d 5h
Merged PRs (30d)
32

Description

So you can do things like `unshift()`

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating the pre-hook registration code and related middleware tests, then determine how the current hook collection is represented; done means callers can manipulate pre hooks with array methods such as unshift() and the behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mongodb, nodejs
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.