xmolecules / jmolecules

Libraries to help developers express architectural abstractions in Java code
http://jmolecules.org
Apache License 2.0
1.25k stars 104 forks source link

kmolecules-ddd is missing @BoundedContext and @Module #126

Open breun opened 2 months ago

breun commented 2 months ago

I see that https://github.com/xmolecules/jmolecules/issues/20 added @BoundedContext and @Module to jmolecules-ddd, but not to kmolecules-ddd. Ideally these two libraries should mirror what they provide, right?

Spring Modulith currently throws a NoClassDefFoundError, because org.jmolecules.annotation.ddd.Module is not provided by kmolecules-ddd: https://github.com/spring-projects/spring-modulith/issues/801

breun commented 2 months ago

Hm, I guess these annotations weren't added to kmolecules-ddd, because Kotlin doesn't provide a way to define package-level annotations and that's where these annotations will typically be used?