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

Separate some interfaces from implementation #7042

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

ychebotarev
Copy link
Contributor

@ychebotarev ychebotarev commented Jan 2, 2025

What changed?

Extract interface definitions into separate sub-module.

Why?

Part of very long (not even sure if I will not give up) chain of refactoring efforts to improve overall design.
MutableState extends those interfaces. But they are defined alongside implementations, and some other structures.
As the result this introduce long chains of dependencies for MutableState, not needed by MutableState itself.
Eventually this leads to some unwanted "cycling dependencies" along the path to refactoring.

How did you test it?

Unit tests

@ychebotarev ychebotarev requested a review from a team as a code owner January 2, 2025 17:55
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.

2 participants