Open temoto opened 4 years ago
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=""
config.UI.Front.MsgIntro="welcome" MsgWait=""
Should be config.UI.Front.MsgIntro="welcome" MsgWait="please wait"
config.UI.Front.MsgIntro="welcome" MsgWait="please wait"
Options to explore: hcl2, toml, lua.
As configs merging (include mechanic) is implemented right now, whole block will override parent block.
Yields
config.UI.Front.MsgIntro="welcome" MsgWait=""
Should be
config.UI.Front.MsgIntro="welcome" MsgWait="please wait"
Options to explore: hcl2, toml, lua.