Add options to force using quotes for strings encoding
templates:
- name: 'TCA'
description: 'TCA template'
- name: 'MVVM'
description: ''
path: 'Deprecated/MVVM'
or
templates:
- name: "TCA"
description: "TCA template"
- name: "MVVM"
description: ""
path: 'Deprecated/MVVM'
Instead of
templates:
- name: TCA
description: TCA template
- name: MVVM
description: ''
path: Deprecated/MVVM
It's not required, just noticed that I can't control this behavior, but the thing I really would like to be customizable is to add extra indentation like:
templates:
- name: TCA
description: TCA template
- name: MVVM
description: ''
path: Deprecated/MVVM
I agree with this. I would qualify. it as a bug because in certain circumstances it seems you can serialize a string (in my case obvious offenders are URL paths) and when you deserialize into a dictionary using a library like AnyCodable so that you can parse arbitrary YAML, the URL paths parse to an INT of 0. This might be a bug in AnyCodable, but it seems a simple fix is to ensure quotes strings.
On another note, the quoted string 'Off' gets deserialized to false.