Skip to content

BUY-61516: Add category compare fallback route - #240

Open
BuyWhere wants to merge 3 commits into
mainfrom
relay/buy-61516-compare-category-route
Open

BUY-61516: Add category compare fallback route#240
BuyWhere wants to merge 3 commits into
mainfrom
relay/buy-61516-compare-category-route

Conversation

@BuyWhere

Copy link
Copy Markdown
Owner

Summary

  • Fix /v1/compare/:category fallback so category pages resolve against any category_path depth instead of only category_path[1].
  • Respect country/country_code/region=sea filters and return currency/country metadata plus formatted merchant prices.
  • Document /compare/{category} in the generated OpenAPI route map.
  • Add regression smoke coverage for electronics, fashion, and home-living.

Verification

  • npm run build
  • node --test --test-force-exit tests/compare-category-route.test.mjs

🤖 Generated with Claude Code

BuyWhere and others added 2 commits July 25, 2026 15:33
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@BuyWhere
BuyWhere force-pushed the relay/buy-61516-compare-category-route branch from bcce58e to a7c647a Compare July 25, 2026 15:34
Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant