Open norkunas opened 3 years ago
Yes it would be nice! See also: https://jolicode.com/blog/rate-limit-your-symfony-apis
@alanpoulain https://github.com/api-platform/core/pull/2300#issuecomment-920585416 could you give some feedback here? :slightly_smiling_face:
I think it can wait for the new metadata architecture to be available (API P 2.7). It will be probably easier to do it in this bundle then (for instance with https://github.com/api-platform/core/blob/10827bb570c44cdee2c1bb7a307a8a18df9b4f00/src/Metadata/Operation.php#L1140).
Now that Symfony has a RateLimiter component maybe it's time to leverage it behind the scenes? :)