Resolve Next.js dynamic route slug conflict ('id' vs 'marketId')

Fixkamo-internal
Shipped
March 10, 2026 at 2:10 AM UTC
Author
kamo
Commit
77df6cc

Merge [marketId] directory into [id] for commerce-markets API routes. Next.js requires all dynamic segments at the same path level to use the same parameter name. Renamed params from marketId to id with destructuring alias.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing