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

[Config] Add command to dump ConfigBuilders#40803

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

Closed
Nyholm wants to merge1 commit intosymfony:5.xfromNyholm:php-config-builder-dump

Conversation

@Nyholm
Copy link
Member

@NyholmNyholm commentedApr 13, 2021
edited
Loading

QA
Branch?5.x
Bug fix?yes/no
New feature?yes
Deprecations?no
Tickets
LicenseMIT
Doc PR

This will add a commandconfig:dump-builders that you can force to dump ConfigBuilders.

We can discuss if this is needed if we have a cache warmer. Ie, then the ConfigBuilders will be generated oncache:warmup. See#40804

@NyholmNyholmforce-pushed thephp-config-builder-dump branch from6b6ab01 toec518e1CompareApril 13, 2021 17:16
@ro0NL
Copy link
Contributor

cant we dump along when the container is dumped? Im not sure one should ever call this command 🤔

IIUC configuration classes are already resource tracked, thus reloaded on change.

@nicolas-grekas
Copy link
Member

Since we strive to reduce the list of default commands, I'm not sure we need this command. Cache warmers are enough to me.

@nicolas-grekasnicolas-grekas added this to the5.x milestoneApr 13, 2021
@Nyholm
Copy link
MemberAuthor

Thank you both for your input. Im closing this PR in favour of#40804

@NyholmNyholm closed thisApr 13, 2021
nicolas-grekas added a commit that referenced this pull requestApr 14, 2021
…ilder (Nyholm)This PR was squashed before being merged into the 5.3-dev branch.Discussion----------[Config][FrameworkBundle] Add CacheWarmer for ConfigBuilder| Q             | A| ------------- | ---| Branch?       | 5.x| Bug fix?      | no| New feature?  | yes| Deprecations? || Tickets       || License       | MIT| Doc PR        |Make sure ConfigBuilder exists before you write your first line of config.This is similar to#40803Commits-------c1d6c0e [Config][FrameworkBundle] Add CacheWarmer for ConfigBuilder
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

4 participants

@Nyholm@ro0NL@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp