-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Move service/parserprovider
package to config/configmapprovider
#4206
Move service/parserprovider
package to config/configmapprovider
#4206
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4206 +/- ##
=======================================
Coverage 87.29% 87.29%
=======================================
Files 176 176
Lines 10622 10622
=======================================
Hits 9273 9273
Misses 1108 1108
Partials 241 241
Continue to review full report at Codecov.
|
d97752b
to
139209c
Compare
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.
Based on what I'm reading in #4178 i would have expected the contents of parserprovider to end up in config
along with the config.MapProvider
, it's possible I'm missing context though.
Please resolve the conflict
I was moving them to |
Ah I see, thanks for clarifying. Personally I would expect the functions to initialize the map provider to live in the same place as the interface, but I don't feel strongly about this. @bogdandrutu @tigrannajaryan any thoughts? |
Maybe a different package but under "config/configmapprovider"? |
@codeboten how does Bogdan's proposal sound to you? |
|
9f46352
to
4144c88
Compare
parserprovider
package to mapprovider
service/parserprovider
package to config/mapprovider
4144c88
to
e5129ad
Compare
@codeboten I think we need to repeat config because right now users will use this as "mapprovider.File" with the repeat the use will be "configmapprovider.File" I think the second is better and clear what map provides. |
After thinking a bit more about this I agree with Bogdan here, but want to hear your thoughts before changing this again @codeboten |
@bogdandrutu's proposal works for me. |
service/parserprovider
package to config/mapprovider
service/parserprovider
package to config/configmapprovider
@bogdandrutu @codeboten PTAL |
Needs a rebase. Last question: if we go with this package, should the provider interface be in the same place then? Can be done after in a separate PR. |
3f8ead0
to
5671d5b
Compare
Rebased.
I hate to not have thought about this before doing #4178 but yes, I think it should live in the same place, both for consistency with other packages (e.g. |
See #4337 for the interface move |
Description:
Second part of #4178.
Link to tracking Issue: Updates #4177