Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #54372 [Config] Fix
YamlReferenceDumper
handling of array examp…
…les (MatTheCat) This PR was merged into the 5.4 branch. Discussion ---------- [Config] Fix `YamlReferenceDumper` handling of array examples | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix #54326 | License | MIT #54326 was based on a wrong branch. It seems example arrays were considered as default values in some cases. Now that they are displayed as comments, this PR ensures the default value makes sense. Commits ------- 4d4b552 [Config] Fix `YamlReferenceDumper` handling of array examples
- Loading branch information
Showing
4 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,6 +109,8 @@ enum="" | |
</pipou> | ||
<array-with-array-example-and-no-default-value /> | ||
</config> | ||
EOL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters