xmolecules / jmolecules-integrations

Technology integration for jMolecules
Apache License 2.0
79 stars 21 forks source link

jmolecules-apt incompatible with kmolecules-ddd annotations #247

Closed BWohlbrecht closed 1 month ago

BWohlbrecht commented 2 months ago

I noticed that jmolecules-apt only considers annotations from jmolecules-ddd and is not compatible with the equivalent annotations from kmolecules-ddd.

In fact a simple test with jmolecules-apt and kmolecules-ddd annotations will result in StackOverflowExceptions on build: https://github.com/BWohlbrecht/jmolecules-apt-kotlin

Since jmolecules-ddd and kmolecules-ddd use the same package namespace, it seems it won't be possible to properly support both in jmolecules-apt.

Are there any plans for a Kotlin equivalent (kmolecules-apt)?

odrotbohm commented 1 month ago

This is caused by Kotlin annotations some times self-referencing each other. I can exclude processing those entirely.