-
Notifications
You must be signed in to change notification settings - Fork 299
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
Slices across different base packages #685
Comments
I don't know if I completely understand your example, because e.g. The Then you could for example also do
(given |
What I wanted to say there was:
|
Ah, okay, I see. You're right, at the moment the simple API works best for the cases where the business cuts are toplevel and the technical cuts are subpackages. For the other way round, I think the only way at the moment is |
Hi. If I understand the question correctly this could benefit from the feature request I made some times ago: #662 . maybe it makes sense to look at both topics together. |
I'd like to cut slices in the following package structure:
Slices that I'd like to have:
application.a.http
,application.a.grpc
,domain.api.a
anddomain.logic.a
application.b.kafka
,application.b.sns
,domain.api.b
anddomain.logic.b
domain.spi.c
,infrastructure.c.memory
andinfrastructure.c.postgres
domain.spi.d
,infrastructure.d.file
andinfrastructure.d.s3
If I could specify multiple package identifiers (when calling
slices().matching(packageIdentifier)
), then I would use (slice 1+2):or respectively (slice 3+4):
Is there a readable way to express that with a single package identifier expression?
Alternatively I'm currently using this (Kotlin) implementation that supports multiple package identifiers:
The text was updated successfully, but these errors were encountered: