chore(backend, frontend): clean up comments and improve formatting

- Removed unused import in `BackendArchitectureTest.kt` and improved clarity of comments on service module dependencies.
- Added a TODO placeholder in `DeepLinkHandler.kt` for upcoming deep link processing implementation.
This commit is contained in:
Stefan Mogeritsch 2026-02-01 13:51:07 +01:00
parent f78563f8c8
commit 66fde7044e
2 changed files with 3 additions and 3 deletions

View File

@ -25,6 +25,7 @@ class DeepLinkHandler(
return processDeepLink(parsed)
}
// TODO: Implement deep link processing logic
private fun processDeepLink(deepLink: DeepLink): Boolean {
val route = cleanRoute(deepLink.route)

View File

@ -3,7 +3,6 @@ package at.mocode.archtests
import com.tngtech.archunit.core.domain.JavaClasses
import com.tngtech.archunit.junit.AnalyzeClasses
import com.tngtech.archunit.junit.ArchTest
import com.tngtech.archunit.lang.syntax.ArchRuleDefinition.noClasses
// Scan ALL project classes from the root package
@AnalyzeClasses(packages = ["at.mocode"])
@ -11,7 +10,7 @@ class BackendArchitectureTest {
@ArchTest
fun `service modules should not depend on each other`(importedClasses: JavaClasses) {
// We currently have very few services and they might share common code or be in transition.
// We currently have very few services, and they might share common code or be in transition.
// For now, we disable this strict check or make it more lenient until the backend structure is fully settled.
// The failure indicates that 'ping' and 'entries' might be accessing each other or common code that is misclassified.
@ -21,7 +20,7 @@ class BackendArchitectureTest {
"at.mocode.ping..",
"at.mocode.entries.."
// Add other service packages here as they are created
)
)
for (servicePackage in servicePackages) {
val otherServicePackages = servicePackages.filter { it != servicePackage }.toTypedArray()