Replies: 1 comment 1 reply
-
Hello and thank you for your suggestion. Major changes on the configuration package are planned for v6 already and your idea would be a nice addition. Could you provide some usage examples and describe your ideal implementation of this feature from a framework user standpoint? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to propose an enhancement that will minimize the need to repeat common keys across different configuration files, making it easier to manage configurations.
The idea is to implement a merging strategy for configuration files. For instance,
config.json
should be the base, and if there is an environment-specific configuration file,config.prod.json
, the system should merge these files. The merging process must take into priority the keys defined in the environment-specific file, allowing for easy overrides without duplicating common configuration keys.This is not something new. Many modern configuration management systems adopt this merging strategy, aligning this approach with common practices.
Beta Was this translation helpful? Give feedback.
All reactions