Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[RateLimiter] Rename RateLimiter to RateLimiterFactory#38675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
stof commentedOct 22, 2020
Such renaming makes sense to me |
52b3e0d toc08202aCompareUh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Http/RateLimiter/DefaultLoginRateLimiter.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
javiereguiluz left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
The reviewers suggestions should probably be taken into account, but this looks good! Thanks!
Nyholm commentedOct 22, 2020
Thank you. PR is updated. |
Uh oh!
There was an error while loading.Please reload this page.
chalasr commentedOct 23, 2020
@Nyholm Why did you revert the service renaming? |
Nyholm commentedOct 23, 2020
Because the tests was failing all over the place. :( The I tried searching for all references in other components and fixing the issue but I couldn't really. I can try an another search if you want. |
chalasr commentedOct 23, 2020
Works for me as-is. Thanks for explaining :) |
8d120d3 to8be261bComparechalasr commentedOct 24, 2020
Thank you Tobias. |
Nyholm commentedOct 24, 2020
Thank you for merging |
Uh oh!
There was an error while loading.Please reload this page.
Sorry for making a few BC breaks.
@wouterjsaid that this class was suggested to be named
LimiterFactorybefore. But that was rejected.Just my looking at the names of the classes we currently have:
I find it hard to know what these are doing and the difference between them. Note that none of them are used as a rate limiter (ie implements
LimiterInterface)I would like to be clear that a
RateLimiterFactoryis used to create an object implementingLimiterInterface.