-
Notifications
You must be signed in to change notification settings - Fork 137
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
Support for writing Config back to a file #122
Conversation
Thank you! I will review your changes this Sunday. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any reason why you skipped config3
files in tests/mocks
?
I think that config4
files should be renamed to config3
and tests should also be updated to use correct files.
Anyway, thank you for this PR! I will merge it when I review it completely and you fix requested changes.
Config 3 is used in another test to check the case if a file does not exist. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks all good! Thanks!
Another implementation to add the ability to write a Config back to file as discussed in #107.
Most of the heavy lifting was already done by @filips123 in https://github.com/filips123/config/tree/writing however my implementation does not contain any breaking changes and comforms with the current state of the project.