Open
Description
Description
Using a controller attribute to configure a rate limit would be useful. By default, the key $request->getClientIp()
but perhaps we could use the expression language for more advanced use-cases. Would require #52516.
This issue is a todo for myself to work on for 7.1.
Example
#[RateLimit('configured_rate_limiter', methods: 'POST')]
public function someAction()
{
// ...
}