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
[bug] Dynaconf does not support null values in yaml #288
Comments
|
I believe this has something to do with the version of YAML used in dynaconf. The Null value in Yaml can be expressed with |
|
@lobocode hi, the "to reproduce" section script shows the problem in the dynaconf core, which in turns affects how dynaconf parses YAML configs (you can reproduce it with |
Shortlog of commits since last release:
Bruno Rocha (8):
Release version 2.2.3
Changed text format and fixed tests
Merge branch '304-ShowDataTypeListCli'
Fix issue #305 - printing and exporting LazyFormat (#312)
Fix #288 - Nullable values (#300)
Default to ruamel.yaml when it is available. (#313)
Fix #306 - does not defaults to merge, deprecated reset - [Breaking Change] (#315)
HOTFIX - tox.ini drops 3.5
Tiago Cordeiro (1):
Added OSX builds to the Azure Pipeline (#307)
Vicente Marçal (1):
Changed CLI list to show data type of the envvars to fix #304
dependabot-preview[bot] (1):
Unpinning python-box, removing box_it_up and default_box arguments (#279)
Describe the bug
If you specify a null value for a variable in a yaml config file and when you try to use this variable you will get "variable does not exists" error.
The same issue should appear when using nulls in vault (since it's a JSON).
To Reproduce
The following python snippet can be used to reproduce the issue:
The output is:
The text was updated successfully, but these errors were encountered: