mirror of
https://github.com/nushell/nushell.git
synced 2025-05-15 20:24:34 +00:00
# Description This change ensures that the ordering of map keys when reading YAML files is consistent. Previously a `HashMap` was used to store the mappings, but that would result in non-deterministic ordering of the keys. Switching to an `IndexMap` fixes this. Fixes https://github.com/nushell/nushell/issues/8662 # User-Facing Changes User's can rely on consistent ordering of map keys from YAML. # Tests + Formatting A unit test ensuring the ordering has been added. # After Submitting None.