Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix partial compile regression introduced in 10.0-RC5 #653

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

rbygrave
Copy link
Contributor

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).

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).
@rbygrave rbygrave added this to the 10.2 milestone Jul 25, 2024
@rbygrave rbygrave self-assigned this Jul 25, 2024
@rbygrave rbygrave merged commit d2e3c21 into master Jul 25, 2024
13 checks passed
@rbygrave rbygrave deleted the feature/partial-compile-avajeModule branch July 25, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant