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

When parsing config files, handle compatible types #734

Merged
merged 4 commits into from
Feb 2, 2024
Merged

Conversation

tskisner
Copy link
Member

@tskisner tskisner commented Feb 1, 2024

Due to the way we are writing TOML and YAML files for user-friendly editing, the true type of traits loaded from those formats can be ambiguous. This work adds checks to allow assignment from compatible types when merging the values loaded from config files with the current state of trait properties.

Due to the way we are writing TOML and YAML files for
user-friendly editing, the true type of traits loaded
from those formats can be ambiguous.  This work adds
checks to allow assignment from compatible types when
merging the values loaded from config files with the
current state of trait properties.
Copy link
Member

@keskitalo keskitalo left a comment

Choose a reason for hiding this comment

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

Awesome!

@tskisner tskisner merged commit be85782 into toast3 Feb 2, 2024
6 checks passed
@tskisner tskisner deleted the config_merge branch February 2, 2024 03:06
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