Skip to content

#216 fix symfony custom filename strategy#218

Merged
SimonMellerin merged 4 commits intomainfrom
216-fix-symfony-custom-filename-strategy
Mar 28, 2025
Merged

#216 fix symfony custom filename strategy#218
SimonMellerin merged 4 commits intomainfrom
216-fix-symfony-custom-filename-strategy

Conversation

@SimonMellerin
Copy link
Copy Markdown
Member

No description provided.

@SimonMellerin SimonMellerin force-pushed the 216-fix-symfony-custom-filename-strategy branch from b0aa1c6 to 2c85cab Compare March 28, 2025 13:18
@SimonMellerin SimonMellerin merged commit 1c86eb4 into main Mar 28, 2025
30 checks passed
@SimonMellerin SimonMellerin deleted the 216-fix-symfony-custom-filename-strategy branch March 28, 2025 13:45
foreach ($config['connections'] as $connectionName => $connectionConfig) {
// Default is handled directly by the storage service.
$strategyId = $connectionConfig['storage_filename_strategy'] ?? null;
$strategyId = $connectionConfig['storage_filename_strategy'] ?? $config['storage_filename_strategy'] ?? null;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not good, we have a configuration object for each user defined configuration, which falls back on a default configuration object at runtime when fetching its configuration. You should have checked that the default configuration is rightly populated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants