Phil Factor

Results 15 comments of Phil Factor

Yes, this is valid yaml and should be represented as you describe. it is missing the second '-' on that line. Unfortunately this is happening in aaubry's YamlDotNet library. Curiously,...

This was fixed here some time back. I originally used a SELECT alias but someone seemed to prefer the full cmdlet. Unfortunately, the version by someone else who put it...

I wonder if ConvertTo-YAML should have a strict mode that includes tags? As far as I'm aware, if YAML doesn't include a tag, it has to guess the type in...

YAML requires the use of tags if there is any ambiguity in a value. This issue is over what happens if you don't use tags, in terms of the precedence...

Agreed, it would be a good idea to fix this. It is an aim to make these cmdlets as compatible as possible to the JSON ones

`ConvertTo-YAML (get-content 'MyPath\test.txt')` ... produces ... - 'There was a Young Person of Crete,' - 'Whose toilette was far from complete;' - 'She dressed in a sack,' - 'Spickle-speckled with...

Many thanks for the help with the Tags. Much appreciated I'd love to publish to https://www.powershellgallery.com/packages/PSYaml/ but I neither own it or have access to it. It was done without...

As far as I can see, Brian Marsh (pezhore) just shut down PSYAML on the PowerShell gallery, rather than update it.

My sample somehow got mangled during the paste-in process, The code used to work fine and hasn't changed. All I did was to upgrade flyway. Obviously, when the error happened,...