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

Enable config manipulation after parsing #2

Open
qzed opened this issue Mar 19, 2018 · 1 comment
Open

Enable config manipulation after parsing #2

qzed opened this issue Mar 19, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@qzed
Copy link
Owner

qzed commented Mar 19, 2018

Provide a way to safely (if possible without direct downcasting) manipulate configurations after parsing. Possible use-case: Transform relative into absolute Target-paths.

@qzed qzed added the enhancement New feature or request label Mar 19, 2018
@qzed
Copy link
Owner Author

qzed commented Mar 21, 2018

c4bc3d5 adds visitor-functions which simplify editing Config trait-objects. The whole Target-path-changing-situation could be implemented directly on top of that, however, I don't think this is a good approach (e.g. it's quite easy to miss a visitor for some type). A solution to this should provide direct support for the built-in defaults and a structure that does not make it too easy to miss a visitor-implementation for a custom-defined type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant