Configuration in two neon files
FVesely opened this issue · 2 comments
FVesely commented
Version: 3.0.1
Bug Description
If I split configuration into two neon files I get exception Unexpected option 'database › options › lazy'
Steps To Reproduce
First neon file
database:
options:
lazy: true
Second neon file
database:
dsn: ''
user: ''
password: ''
Expected Behavior
No exception. Works in version 2.4.8
MartinMystikJonas commented
@FVesely Did you managed to solve it somehow?
MartinMystikJonas commented
Ok found solution. It seems that there is some problem with merging of configs thst does not explicitly states connection names and expects default
.
It works when replaced by:
database:
default:
options:
lazy: true