-
Notifications
You must be signed in to change notification settings - Fork 6
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
origin of data indication #9
Comments
Yes! This was very much something I wanted from the start, but it's hard :-) |
So, one tricky thing... even if Surfacing in both str and repr maybe be one way, but that feels a bit unclean. Thoughts? |
unless those libraries provide a entrypint for this, its not something to be concerned with directly, a layer that adds the details to validation errors is a separate concern the key is that the data is easily available for debugging values/their origin |
sometimes when debugging merged configurations, its really helpful to be able to tell what file/line/source an element came from
for example, if a setting can be provided by cli, default settings file and optional settings file it would be a great help to tell
a) where the final setting came from
b) if its a parsed file what line it was
The text was updated successfully, but these errors were encountered: