Skip to content
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

Resolve dependency on config package of state package #26

Merged
merged 7 commits into from
Feb 23, 2022

Conversation

babarot
Copy link
Owner

@babarot babarot commented Feb 23, 2022

WHAT

Currently state package needs config package. In this PR, take away dependency on config package of state package.

Before:

config <- state

After:

config -> state

WHY

"state" is called by "config" package side via each command ("cmd" package). That is, "config" is application layer. Also "cmd" is also application layer as same as "config". On the other hand, "state" is a library side. So then "state" should not be related to these layers.

@babarot babarot merged commit de5bc07 into master Feb 23, 2022
@babarot babarot deleted the feature/state/v2 branch February 23, 2022 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant