-
Notifications
You must be signed in to change notification settings - Fork 25.3k
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
Update Configuration doc to use double underscores instead of colons for hierarchical config keys #4968
Comments
Related to (or dup of) #4927. |
@danroth27 do you want the samples in this doc updated as well? Or just lines 46 and 53? |
Note that the topic is getting an (unrelated) update. It could get messy before that merges 👉 #5169 |
@guardrex is there an interest in hitting this low hanging fruit in that PR? |
I don't think so ... it's approved. It should merge any second. I just meant you could work with a clean, updated topic as soon as that goes in. Merge conflicts are something I really try to avoid. 😨 lol |
ohhhhh maybe I should actually click the link ;) |
@isaac2004 #5169 is merged now, so if they give you the green light, ur good. |
Note that on #5241 @scottaddie remarks for aspnetcore/fundamentals/configuration/index.md where it states ...
|
@danroth27 @guardrex I'm hoping we can provide a bit more guidance in this statement. For example, which specific platforms are known to need the double underscore? It's going to be a question in the Feedback section of the doc if we don't specify. |
@guardrex I was looking around and don't see it documented anywhere. Agree with @scottaddie that we could use more guidance here and which platforms and all that or else the question tidal wave will hit us. |
@danroth27's OP ☝️ suggests that making every topic go with the double-underscore approach should (in theory) just about eliminate concern over platform behavior. However, I agree that being able to say which platforms have trouble with colons would be helpful. |
@guardrex I only see him mentioning the config doc. Did I miss something? |
Nah ... just wondering if they'll be found in a few other topics/samples floating around the repo. Hopefully not, and then this won't be a big deal. |
So the goal here is to update ALL samples and docs that use |
@isaac2004 That's my understanding. |
@isaac2004 @scottaddie Yep. The first to change should be the configuration doc but at some point all docs that use this |
@rachelappel @danroth27 @scottaddie Does it really make sense to update all the samples? The more I think about it, it may just make sense to update the note to something like
|
This was addressed in #5876 |
Currently the config doc tells you to use colons for hierarchical config keys, which don't work on all platforms. Let's switch to using double scores and then update the note about double underscores to say that colons can also be used, but may not work on all platforms.
The text was updated successfully, but these errors were encountered: