-
Notifications
You must be signed in to change notification settings - Fork 189
feat(config)!: consolidate custom config parsing into config.Extended #475
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
Conversation
Cali0707
left a comment
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.
I like this cleanup!
|
Hi @Cali0707 Addressed the comments regarding ExtendedConfigRegistry and making it private. I didn't change #475 (comment) yet. |
e99ef87 to
5000e9e
Compare
Signed-off-by: Marc Nuri <marc@marcnuri.com>
Signed-off-by: Marc Nuri <marc@marcnuri.com>
5000e9e to
f47e6ff
Compare
Cali0707
left a comment
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.
LGTM, thanks for this cleanup @manusa
I'll leave it up to you to decide when to merge this, since as you note it may break some things downstream
|
Merging now, please let me know if you run into trouble when merging downstream or if you need any help with that. |
…containers#475) * feat(config)!: consolidate custom config parsing into config.Extended Signed-off-by: Marc Nuri <marc@marcnuri.com> * review(config)!: consolidate custom config parsing into config.Extended Signed-off-by: Marc Nuri <marc@marcnuri.com> --------- Signed-off-by: Marc Nuri <marc@marcnuri.com> Signed-off-by: Muhammad Faizan <mfaizan.se@gmail.com>
Fixes #470
This might imply breaking changes downstream if there are references to the interfaces.
I think the breaking changes tradeoff is OK because there is now a single simple config.Extended interface which avoids code duplication.
This will also allow to better reuse the pattern for other config extensions if needed.