Wildcard Path doesn't affected by Delay feature
- Dominant language
- JavaScript
- Stars
- 1.6k
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
## What you did:
Create a route:
`/orders/*`
then set the delay to 2000ms.
## What happened:
route not delayed when hit with another param beside `*`
`/orders/1` not delayed

`/orders/900` not delayed
`/orders/*` delayed

## Problem description:
Need to handle delay feature for wildcard path.
## Suggested solution:
don't have a suggestion. but please fix it. 🥂
Contributor guide
Research direction
Start by reproducing the route matching and delay behavior with `/orders/*`, `/orders/1`, and `/orders/900`, using the issue's 2000ms delay. Trace the route-matching and delay-handling entry points, then verify that matching wildcard requests receive the configured delay while preserving the existing behavior for the literal wildcard path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100