incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

[Feature][Framework] Create BasicRes in framwork

Open warren830 opened this issue 3 years ago • 1 comments

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

warren830 avatar Sep 16 '22 02:09 warren830

I will on it since it is blocking my PoC

klesh avatar Sep 16 '22 10:09 klesh