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

Fix/collection defaults #33

Merged
merged 3 commits into from
Sep 17, 2024
Merged

Fix/collection defaults #33

merged 3 commits into from
Sep 17, 2024

Conversation

nathanhhughes
Copy link
Collaborator

@Schmluk not sure if I messed this up when doing ordered maps, but the previous behavior for parsing collections (i.e., vectors and maps) didn't allow for default non-empty collections. I think this is the better behavior: use the default empty or non-empty collection if the yaml field isn't populated, and otherwise clear and override it

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.

Looks great! Utests are currently breaking but otherwise good to go!

@nathanhhughes nathanhhughes merged commit f569658 into main Sep 17, 2024
2 checks passed
@nathanhhughes nathanhhughes deleted the fix/collection_defaults branch September 17, 2024 14:40
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