Skip to content

Support complex mapping keys #25

Description

Why

YAML allows arbitrary nodes (sequences, mappings) as mapping keys via the ? indicator, but PowerShell hashtables and [PSCustomObject] only accept scalar keys, so this maps awkwardly today and can fail unexpectedly. Complex keys are rare in real-world YAML, making this the lowest-priority spec gap.

What

Parse ? complex keys without erroring, with a clear and predictable resolution strategy for how a complex key is represented in the returned object.

Spec examples covered

  • Example 2.11 — Mapping between Sequences

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions