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
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