Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration in two neon files #223

Open
FVesely opened this issue Apr 12, 2019 · 2 comments
Open

Configuration in two neon files #223

FVesely opened this issue Apr 12, 2019 · 2 comments

Comments

@FVesely
Copy link

FVesely commented Apr 12, 2019

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
Copy link
Contributor

@FVesely Did you managed to solve it somehow?

@MartinMystikJonas
Copy link
Contributor

MartinMystikJonas commented Jul 21, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants