Skip to content

Question: how to ovverride maps value from env vars ? #1

@fredleger

Description

@fredleger

Suppose i have the following json :

{
"object": {
    "var1": "val1",
    "var2": "val2"
  },
}

which is loaded fine by gonfig. What is the expected format to ovverride it from the ENV vars ?

I tried some things like :

  • "var1:val1 var2:val2"
  • "[var1:val1 var2:val2]"
  • "{var1:val1 var2:val2}"

but it don't seems to work. More supprisingly it keeps default values without complaining.
good job !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions