incubator-devlake
incubator-devlake copied to clipboard
[Feature][Framework] Create BasicRes in framwork
Search before asking
- [X] I had searched in the issues and found no similar feature requirement.
Description
Right now, we use log, config, dal by passing them to plugin.init() and wrap them in BasicRes
Use case
We should create BasicRes in framework and use it anywhere. In this way, the structure of code will be more clean.
Also, we should use dal in migration scripts.
Related issues
No response
Are you willing to submit a PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
I will on it since it is blocking my PoC