Skip to content

Latest commit

 

History

History
15 lines (15 loc) · 706 Bytes

2022-11-03-added-rate-limiter-to-adding-a-line-item.md

File metadata and controls

15 lines (15 loc) · 706 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Added rate limiter to adding a line item
issue: NEXT-23422
author: Michel Bade
author_email: [email protected]
author_github: @cyl3x
---

Core

  • Added cart_add_line_item to rate limiter configuration in Shopwar\Core\Framework\Resources\config\packages\shopware
  • Added constant CART_ADD_LINE_ITEM in Shopware\Core\Framework\RateLimiter\RateLimiter.
  • Added rate limiter Shopware\Core\Framework\RateLimiter\Policy\SystemConfigLimiter and policy type system_config to allow limitation configuration with SystemConfigService
  • Added policy type system_config to Shopware\Core\Framework\RateLimiter

API

  • Added rate limitation for api route store-api.checkout.cart.add