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

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

Open
fredleger opened this issue Jul 31, 2017 · 0 comments
Open

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

fredleger opened this issue Jul 31, 2017 · 0 comments

Comments

@fredleger
Copy link

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 !

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

1 participant