Support `proxy` route rule with env expansion
Open
Nobody has claimed this yet.
discussion
enhancement
v2
- Dominant language
- TypeScript
- Stars
- 11.2k
- Forks
- 899
- Avg merge
- 2d 24m
- Merged PRs (30d)
- 40
Description
It could be opt-in like proxy: { to: '/api/{{API_VER}}', env: true } to allow dynamic path in proxy rules
Contributor guide
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
Locate the proxy route-rule handling and the existing environment-expansion path; first confirm how proxy: { to: '/api/{{API_VER}}', env: true } should opt in. Done means dynamic API_VER values are expanded in proxy destinations while behavior is unchanged when env is omitted, with the proxy rule behavior covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100