koajs / koajs/rewrite

add a flag

Open
#2 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
98
Forks
12
PR merge metrics
No merged PRs in 30d

Description

would be useful to have a flag to indicate that a path has been rewritten. maybe `ctx.rewrite = true` or similar. would you accept a PR?

Contributor guide

Open the contributing guide

Research direction

Read the repository's URL rewriting middleware entry point to understand how rewritten paths are handled and whether rewrite state is already tracked. Clarify the expected flag semantics, then add coverage showing when the flag is set and run the existing test suite.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.