Hi again ! Is there a way to template / interpola...
# questions
m
Hi again ! Is there a way to template / interpolate in
catalog.yml
values that are defined in
parameters.yml
ex: in
conf/base/parameters.yml
Copy code
tenant_id: xyz
and in
conf/base/catalog.yml
Copy code
_tenant_id: ${tenant_id}
Thx in advance
n
Which config loader are you using?
For templateconfigloader, define
xyz
in
globals.yml
and it can be applied globally in both parameters.yml and catalog.yml
m
Thx Nok ! I was using OmegaConf… 😅 It gets a little tricky to keep between the different config loaders behaviors / expectations… Can you please confirm: As I have understood it, TemplateConfigLoader will be soon deprecated in favor of OmegaConf ? Correct ? If so… Are you aware of some plans to allow interpolation into the catalog from params with OmegaConfigLoader ? Thx
m
@Marc Gris Yes we’re planning to add a similar global feature to
OmegaConfigLoader
soon 🙂
👍🏼 1
m
Thx @Merel for confirming this 🙏🏼