Closed themassiveone closed 11 months ago
I also wanted to bring up the fact, that architecture changes might be imminent due to roommate specification changes. We should stay as flexible as possible for now!
As we are supposed to comply with onion, we should start testing it IMMEDIATELY
@Test
@DisplayName("Die Mwst Anwendung hat eine Onion Architektur")
public void onionArchitektur() throws Exception {
ArchRule rule = onionArchitecture()
.domainModels("mwst.domain..")
.domainServices("mwst.services..")
.applicationServices("mwst.services..")
.adapter("web", "mwst.web")
.adapter("persistence", "mwst.katalog")
.adapter("kalender", "mwst.kalender");
rule.check(klassen);
}
Ohhh, im exited for these 🥳.
Any reasonable application for these yet? I was thinking of enforcing services to only call domain and repository code and similar rules