NestJS Custom Decorators and Pipes: Stop Sending Context in Query Params
Every request in our e-commerce API used to look like this:
GET /api/cart/items?storeKey=store-fr&country=FR¤cy=EUR
The frontend computed storeKey, country, and currency from the logged-in user
ernestoyanac.com9 min read