-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
Config keys starting with _ prefix do not trigger error or warnings. #2639
base: master
Are you sure you want to change the base?
Conversation
This allow to use: "_comment": "Here is a comment" in JSON.
Is a (bad) solution for #2567 |
✅ PR OK, no changes in deprecations or warnings Total deprecations: 15 Total warnings: 0 Build statistics: statistics (-before, +after)
executable size=5276640 bin/dub
rough build time=75s Full build output
|
Note that all comments still need a different |
Note that my PR seems incomplete, if multiple "_comment" are found the parser still complains:
|
Why is JSON parsed with a YAML parser? YAML doesn't allow duplicated keys, but JSON does. |
Oh I see, the right fix is perhaps a parsing option in upstream "configy" |
This allow to use:
in JSON.