Skip to content

Status of fix for losing case-sensitive keys #191

@ThaDaVos

Description

@ThaDaVos

Currently when your YAML contains case-sensitive keys, only the last one is kept - I ran into this as I am using powershell-yaml to cleanup an OpenAPI Spec file (of which I have not control) and the authors of it made the great decision to have multiple paths duplicated only by case.

Sadly because of the revert of the fix in #159 - mentioned in https://github.com/cloudbase/powershell-yaml/releases/tag/v0.4.9 - loading the YAML results in losing these duplicate keys

So, is there an update on a fix for this? Perhaps placed behind a flag like casesensitive so when needed, one can use it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions