spring-modulith icon indicating copy to clipboard operation
spring-modulith copied to clipboard

Investigate using the ArchUnit module APIs in favor of the slice ones

Open odrotbohm opened this issue 2 years ago • 0 comments
trafficstars

ArchUnit released a new module architecture rule API that seems inspired by the conventions of Spring Modulith. We should investigate in how far it allows us to port some of the concepts and verifications we built on top of ArchUnit can be replaced by using that API.

From a quick glance, it seems it supports:

  • Modules by identified package (either naming pattern or annotations)
  • Dedicated module APIs

It currently seems to lack explicit API to replace our named interfaces abstractions, in particular the ability to define dependencies to a named API.

odrotbohm avatar Nov 06 '23 07:11 odrotbohm