You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I can run @{one=1;two=$null} | ConvertTo-Yaml producing the below output:
one: 1
two:
It would be good to have the ability to prevent the output of fields with null values, so callers can choose to toggle this behaviour where their inputs contain properties with null values instead of simply not containing those properties.
Desired behaviour: @{one=1;two=$null} | ConvertTo-Yaml -Options SupressNullValuedProperties would produce the output:
one: 1
The text was updated successfully, but these errors were encountered:
Today I can run
@{one=1;two=$null} | ConvertTo-Yaml
producing the below output:It would be good to have the ability to prevent the output of fields with null values, so callers can choose to toggle this behaviour where their inputs contain properties with null values instead of simply not containing those properties.
Desired behaviour:
@{one=1;two=$null} | ConvertTo-Yaml -Options SupressNullValuedProperties
would produce the output:The text was updated successfully, but these errors were encountered: