Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[RateLimiter] AddRateLimiterFactoryInterface#58939

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

Merged

Conversation

alexandre-daubois
Copy link
Member

QA
Branch?7.3
Bug fix?no
New feature?yes
Deprecations?no
IssuesFix#58920
LicenseMIT

I think it makes sense to create this interface for both being able to implement your own factory logic as well as type-hint against an interface when injecting it.

I would however not make the class non-final as suggested in the issue. The interface only contains one method with not that much logic inside the current implementation.

pkly and darthf1 reacted with heart emoji
@fabpot
Copy link
Member

Thank you@alexandre-daubois.

@fabpotfabpot merged commit3974926 intosymfony:7.3Feb 7, 2025
11 checks passed
chalasr added a commit that referenced this pull requestMar 7, 2025
…ace` (kbond)This PR was merged into the 7.3 branch.Discussion----------[FrameworkBundle] fix autowiring `RateLimiterFactoryInterface`| Q             | A| ------------- | ---| Branch?       | 7.3| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Issues        | Fix bug in#58939| License       | MITFixes a small bug from#58939. Confirmed with `@alexandre`-daubois this was the intention.Commits-------7130a9f [FrameworkBundle] fix autowiring `RateLimiterFactoryInterface`
@fabpotfabpot mentioned this pull requestMay 2, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fabpotfabpotfabpot approved these changes

@OskarStarkOskarStarkOskarStark approved these changes

@xabbuhxabbuhxabbuh approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
7.3
Development

Successfully merging this pull request may close these issues.

[RateLimiter] RateLimiterFactory should implement a generic interface for mocks or be made non-final
5 participants
@alexandre-daubois@fabpot@OskarStark@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp