Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML Order Preserving Map Parsing #21

Merged
merged 2 commits into from
Jul 17, 2024
Merged

Conversation

nathanhhughes
Copy link
Collaborator

@nathanhhughes nathanhhughes commented Jul 16, 2024

@Schmluk ran into a corner case where I wanted to parse a map of virtual configs and wanted to get them in the order they were specified in the yaml file (and not in alphabetical order). Realized after the fact that I don't actually need the keys after parsing and could just parse a vector of configs instead, but this might be useful...

Copy link
Collaborator

@Schmluk Schmluk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@nathanhhughes nathanhhughes merged commit 207b0f7 into main Jul 17, 2024
2 checks passed
@nathanhhughes nathanhhughes deleted the feature/insertion_order_maps branch July 17, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants