vender icon indicating copy to clipboard operation
vender copied to clipboard

config: per-key default values / include overrides

Open temoto opened this issue 4 years ago • 0 comments

As configs merging (include mechanic) is implemented right now, whole block will override parent block.

# vender.hcl
ui {
  front {
    msg_intro = "hello"
    msg_wait = "please wait"
  }
}
include "local.hcl" {}

# local.hcl
ui {
  front {
    msg_intro = "welcome"
  }
}

Yields config.UI.Front.MsgIntro="welcome" MsgWait=""

Should be config.UI.Front.MsgIntro="welcome" MsgWait="please wait"

Options to explore: hcl2, toml, lua.

temoto avatar Jul 03 '20 13:07 temoto