[L11] Is there a way to disable merging with the base config? #50876
-
#47309 forces now everyone to live with base configs merged in your configs with the introduction of I understand how and why, but in my case I want full control, as I have with < Laravel 11, what is in the config and what not. It becomes risky to perform updates if updates to base configs are made and defaults might change and you might not find out before production due to different environments etc. TL;DR: is there an easy way to disable this behaviour without replacing |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Safest solutionPublish all internal config files.
Dangerous solutionIf there is a config cache, internal config will not be read. |
Beta Was this translation helpful? Give feedback.
-
There should definitely be a way to do this. The config files having all sorts of stuff we don't want is not helpful. Database config for example should never have connections that don't exist. |
Beta Was this translation helpful? Give feedback.
-
I've created a PR that will allow us to disable this feature. |
Beta Was this translation helpful? Give feedback.
I've created a PR that will allow us to disable this feature.
Please take a look at it and give feedback. Thanks.
#51579