Replies: 4 comments
-
By default |
Beta Was this translation helpful? Give feedback.
-
I had in mind case when whole application use |
Beta Was this translation helpful? Give feedback.
-
I see, these configurations will be activated as soon they are somewhat "global" for the whole application. I think profiles with deactivated configuration are our friends here |
Beta Was this translation helpful? Give feedback.
-
I don't think we have a good answer to that yet, as we can only control the component scanning and the auto-configuration packages for the application. We cannot (don't want to?) alter the classpath of the application, as there's no way to reasonably reason what needs to be included to run a single module. Do you suggest that there is a way in your case? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
the biggest benefit of Modulith for me is opportunity to test couple of beans defined in a package. However, I have no clear idea how to manage autoconfiguration.
Consider case I have package
order
with 3@Component
from order family. I can haveand test whole module.
Unfortunately, the test starts all autoconfigurations, including those not used by Order module. I would like to have OrderTest as fast as possible and start only required beans.
How to arrange autoconfigurations?
Beta Was this translation helpful? Give feedback.
All reactions