-
Notifications
You must be signed in to change notification settings - Fork 40.9k
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
Remove YAML shortcomings section as it no longer applies #24620
Conversation
That whole part and example should be moved to another area as it is no longer exclusive of Yaml files, it is related to multi-document files. Anyway, the current example does work as expected as the active profile is the same as the one in the profile-specific file and the nested document is not filtered out.
@friscoMad Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@friscoMad Thank you for signing the Contributor License Agreement! |
@friscoMad I don't think I understand the reason for changing the profile name to However, I do agree that this section is true for any multi-document files and not just YAML. Would you like to update your PR to reflect that? |
@friscoMad how is it going? Can you please let us know if you have the time to review the proposal as @mbhave indicated? Thanks! |
@snicoll @mbhave Sorry I had a week off and forgot about this PR. In the current example the parent depends on |
@friscoMad The example is trying to show unexpected behavior when there is a nested document in a profile-specific file. It is saying that even if you have the |
@friscoMad My comment above is no longer valid since the behavior has changed in #24990. This change allows |
Ok, after reviewing the mentioned ticket I think I understand my misunderstanding. I am working with 2.4.1 where that feature is working, it was on 2.4.2 when this stopped working, that's why I did not understand the example. |
…e section as a warning.
@mbhave Done! Please confirm that this is what you expected. |
Thanks @friscoMad. This has been merged into |
This is a small documentation fix, I was working today with multi-document profile-specific YAML files and after reading the example I thought that directly that setup does not work, but that's not the case it is just the example is not correct.
The current example does work as expected as the active profile is the same as the one in the profile-specific file so the nested document is not filtered out, the file name or the active profile should be changed to make the filter out the nested document.
Anyway, that whole part and example probably should be moved to section 2.3.8 as it is no longer exclusive of Yaml files, it is related to multi-document files.