-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Config] Support dots in node names #22268
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
Comments
The dot notation is used to inform at which position the configuration is set. I even believe in YAML you can use So changing this would be a big BC break. |
I don't want to change anything about how symfony framework is using configuration. In my case, its the standalone |
What is the prefered way of targetting my issue?
|
Is something missing on this issue? How can I help? @fabpot @nicolas-grekas @stof |
I don't have any feedback on this since April! feature freeze is coming. Can you please review? @ogizanagi @fabpot |
This PR was merged into the 4.1-dev branch. Discussion ---------- [Config] allow changing the path separator | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #22268 | License | MIT | Doc PR | In bundles configuration, no dots are allowed in key names, but as a standalone config, there is no such limitation that should be enforced. By using current `NodeBuilder` it should be possible to change path separator used (for example: `/`) Commits ------- 15e05e1 Add feature allowing change of Path Separator
I don't see any reason why developers would not use a config name with dots in it.
I am currently refactoring a legacy application using this kind of configuration nodes. I want to use the power of the
Config
component to improve validation.I currently cannot do this and I could not find any reason why this is prevented.
The text was updated successfully, but these errors were encountered: