Open Brikster opened 2 years ago
Including comments in each map/collection element is messy and confusing for the end user. It should be only in the first one.
Including comments in each map/collection element is messy and confusing for the end user. It should be only in the first one.
Would be better, if it would be configurable
Fix issue #17.
Rewritten
ConfigPostprocessor
to provide first line of collection to a walker (previously, lines that begins from "-" were written as is).YamlSectionWalker
's implementations now resolve subtypes of Map and Collection and append comments of their fields.Now there is an ability to create commented Lists, Maps, Lists of Maps, Maps of Lists etc.
Here you can see an example:
And config file: