-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[Lock] do not support sensitive option entries #61737
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
xabbuh
commented
Sep 12, 2025
| Q | A |
|---|---|
| Branch? | 7.4 |
| Bug fix? | no |
| New feature? | no |
| Deprecations? | no |
| Issues | |
| License | MIT |
src/Symfony/Component/Lock/Bridge/DynamoDb/Store/DynamoDbStore.php
Outdated
Show resolved
Hide resolved
|
Thank you @xabbuh. |
This PR was merged into the 7.4 branch. Discussion ---------- [Lock] fix DynamoDB integration test | Q | A | ------------- | --- | Branch? | 7.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT I accidentally broke the integration test in #61737 when changing the visibility of the `createTable()` method to `private`. Commits ------- f3b4822 fix DynamoDB integration test
| } | ||
|
|
||
| public function createTable(): void | ||
| private function createTable(): void |
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.
shouldn't createTable stay public, to make it possible to use it in a setup script.
Some projects will use a low-priviledge account for the runtime usage, that is not able to create a table, but is allowed to access the specific table being used. They will then have a setup script run with different AWS credentials with higher priviledges to create the table. If this method is not public, they cannot rely on it as their implementation, having to duplicate it (hoping it is in sync), or use Reflection to call a private method (not covered by our BC policy).
Having such setup method public is the common case for our stores in various components (see PdoStore for instance)
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.
that's a valid point, see #61754
This PR was merged into the 7.4 branch. Discussion ---------- [Lock] make `createTable()` public again | Q | A | ------------- | --- | Branch? | 7.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | #61737 (comment) | License | MIT Commits ------- 881879d make createTable() public again