Closed dcharkes closed 1 year ago
@dcharkes would https://github.com/dart-lang/yaml_edit/issues/26 solve this problem better?
Since wrapAsYamlNode
already takes style arguments, why not add a recursive boolean or recursion depth to it instead rather than introducing a new method? It's unclear to me why wrapAsCustomStyledYamlNode
should apply style why wrapAsYamlNode
shouldn't.
I think wrapAsYamlNode
probably could apply recursively, hmm, I guess that would solve most issues.
The wrapAsCustomStyledYamlNode
is only really if you want to control styling even more.
Fixed
https://pub.dev/documentation/yaml_edit/latest/yaml_edit/wrapAsYamlNode.html
Should this wrap recursively?
input (lists, strings, maps):
[{name: bla, packaging: dynamic, path: {path_type: absolute, uri: path/with spaces/bla.dll}, target: windows_x64}]
output:
conversion
Asked for quotes, but didn't get any.