database icon indicating copy to clipboard operation
database copied to clipboard

Configuration in two neon files

Open FVesely opened this issue 6 years ago • 2 comments

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 avatar Apr 12 '19 11:04 FVesely

@FVesely Did you managed to solve it somehow?

MartinMystikJonas avatar Jul 21 '22 14:07 MartinMystikJonas

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

MartinMystikJonas avatar Jul 21 '22 15:07 MartinMystikJonas