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

Check interface refactors #40

Merged
merged 4 commits into from May 10, 2021

Conversation

sagikazarmark
Copy link
Contributor

@sagikazarmark sagikazarmark commented May 10, 2021

First batch of the changes in #35

The rationale behind this change is that the interface belong to its consumer (ie. the dependent) not the implementation. The Check interface is used in the main package as an abstraction, so logically it belongs there. The checks package is a set of implementations.

Fundamentally, the Check interface belongs to the root
package as it's the main consumer of that contract.

It also felt wrong to depend on the checks package
as it contains implementations of that interface.

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This was referenced May 10, 2021
@eranharel eranharel merged commit 9aef7ab into AppsFlyer:master May 10, 2021
@sagikazarmark sagikazarmark deleted the check-interface-refactors branch May 10, 2021 15:20
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.

None yet

2 participants