database
database copied to clipboard
Configuration in two neon files
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
@FVesely Did you managed to solve it somehow?
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