-
Notifications
You must be signed in to change notification settings - Fork 6
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
chore: architectural fitness functions - use case implementation visibility pt1. (ACOL-123) #2152
chore: architectural fitness functions - use case implementation visibility pt1. (ACOL-123) #2152
Conversation
…to create instances
Datadog ReportAll test runs ❌ 2 Total Test Services: 1 Failed, 0 with New Flaky, 1 Passed Test Services
❌ Failed Tests (3)
|
…plementation-visibility
…plementation-visibility
* chore: introduce architecture fitness functions * chore: introduce architecture fitness functions * chore: introduce architecture fitness functions * chore: introduce architecture fitness functions * chore: architectural fitness functions - use case implementation visibility pt1. (ACOL-123) (#2152) * chore: fix visibility of use cases, implementations must be internal to create instances * chore: fix detekt * fix: broken use case rule * fix: broken use case rule * chore: architectural fitness functions - misc dtos inverted layer access pt2. (ACOL-123) (#2187) * fix: broken inversed layer rule * fix: broken inversed layer rule * fix: test adj * Revert "fix: broken inversed layer rule" This reverts commit 2153cea. * fix: test adj * fix: auth dto in wrong package * fix: session establisher dto in wrong package * fix: session establisher dto in wrong package * fix: message releated dtos in wrong package * chore: architectural fitness functions - inverted layer access calling pt3. (ACOL-123) (#2188) * fix: calling releated dtos in wrong package * fix: calling references with internal usecases * fix: calling references with internal usecases * chore: architectural fitness functions - inverted layer access msg and conversations pt4. (ACOL-123) (#2190) * fix: messages and conversation references with internal usecases * fix: messages and conversation references with internal usecases * fix: messages and conversation references with internal usecases * chore: architectural fitness functions - baseline final pt5. (ACOL-123) (#2196) * chore: ignore suppresed baseline of rule * chore: ignore suppresed baseline of rule * chore: ignore suppresed baseline of rule * fix: dependency resolutino * fix: dependency resolution
* chore: introduce architecture fitness functions * chore: introduce architecture fitness functions * chore: introduce architecture fitness functions * chore: introduce architecture fitness functions * chore: architectural fitness functions - use case implementation visibility pt1. (ACOL-123) (#2152) * chore: fix visibility of use cases, implementations must be internal to create instances * chore: fix detekt * fix: broken use case rule * fix: broken use case rule * chore: architectural fitness functions - misc dtos inverted layer access pt2. (ACOL-123) (#2187) * fix: broken inversed layer rule * fix: broken inversed layer rule * fix: test adj * Revert "fix: broken inversed layer rule" This reverts commit 2153cea. * fix: test adj * fix: auth dto in wrong package * fix: session establisher dto in wrong package * fix: session establisher dto in wrong package * fix: message releated dtos in wrong package * chore: architectural fitness functions - inverted layer access calling pt3. (ACOL-123) (#2188) * fix: calling releated dtos in wrong package * fix: calling references with internal usecases * fix: calling references with internal usecases * chore: architectural fitness functions - inverted layer access msg and conversations pt4. (ACOL-123) (#2190) * fix: messages and conversation references with internal usecases * fix: messages and conversation references with internal usecases * fix: messages and conversation references with internal usecases * chore: architectural fitness functions - baseline final pt5. (ACOL-123) (#2196) * chore: ignore suppresed baseline of rule * chore: ignore suppresed baseline of rule * chore: ignore suppresed baseline of rule * fix: dependency resolutino * fix: dependency resolution
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
We have failing tests for use case visibility after introducing
Konsist
in:Causes (Optional)
Use case implementations can be instantiated from the outside world.
Solutions
Mark them as internal when possible or make their constructor internal to adhere to the rule.
Some tests will still fail, so I need to raise a part 2, or 3 after this.
Needs release
Testing
Test Coverage (Optional)
How to test
Tests for the following checks, should NOT fail.
useCaseImplementationsShouldBeInternalOrHaveInternalConstructor[jvm] - com.wire.kalium.logic.architecture.UseCaseRulesTest -
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.