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

KON-679 Allow To Call Layer Dependency Method On Collections #1507

Conversation

igorwojda
Copy link
Contributor

@igorwojda igorwojda commented Nov 4, 2024

val sourceLayer1 = Layer("Domain", "com.example.domain..")
val sourceLayer2 = Layer("Data", "com.example.data..")
val sourceLayers = setOf(sourceLayer1, sourceLayer2)

val targetLayer = Layer("Presentation", "com.example.presentation..")

...
assertArchitecture {
      // Call dependsOn, doesNotDependOn, dependsOnNothing, include on collections
       sourceLayers.dependsOn(targetLayer)
}

Copy link

@igorwojda igorwojda added the improvement nhancements to existing features or code label Nov 4, 2024
@igorwojda igorwojda marked this pull request as ready for review November 4, 2024 02:39
@igorwojda igorwojda merged commit 9335608 into develop Nov 4, 2024
33 checks passed
@igorwojda igorwojda deleted the KON-679-allow-to-call-layer-dependency-method-on-collections branch November 4, 2024 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement nhancements to existing features or code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant