-
Notifications
You must be signed in to change notification settings - Fork 316
Valid toml is invalid #6578
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
Comments
|
@jsirex can you give some more detail on what's going on here? Are you running |
Create any package with default.toml: web.http.port = 80 In |
Seems like As such, I don't think there's anything that we can do about this, apart from noting this in our documentation. |
@christophermaier, I checked |
UPD: still issues with rq: dflemstr/rq#206 |
Closing here since the root cause appears to be elsewhere. |
It odd for me you're closing issue while habitat itself still does not work as expected.. |
my apologies. You are correct. I missed a detail here. Reopening. |
Linking rq issue: dflemstr/rq#208 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you. |
2 similar comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you. |
Sometimes using nested keys via dots is useful:
According to this: https://github.com/toml-lang/toml#keys it can be written as:
However validation is failed (by
rq
and also bytomlcheck
). I believe they use same library.Here is the test:
If you have lots of nested keys dealing with sections may be nightmare:
This is either bug or we need to point to correct TOML syntax reference in documentation.
Note, that habitat parses dotted configs correctly.
The text was updated successfully, but these errors were encountered: