avaje / avaje-inject

Dependency injection via APT (source code generation) ala "Server-Side Dagger DI"
https://avaje.io/inject
Apache License 2.0
240 stars 24 forks source link

Fix partial compile regression introduced in 10.0-RC5 #653

Closed rbygrave closed 3 months ago

rbygrave commented 3 months ago

10.0-RC5 introduced a regression that stops "Partial Compilation" from working. This is due to the ProcessingContext.isInjectModule() not correctly detecting the current module. This meant no existing module was found, no dependency meta data for the module was read, a new module is created for the components included in the partial compile and generally that will fail with missing dependencies.

A workaround is to perform a full compile (but this isn't really a workable solution - its important that partial compile works).