-
Notifications
You must be signed in to change notification settings - Fork 167
Description
It would be good to specify one (or more) central configuration packages in the @Modulithic
or @Modulith
application.
@Modulithic(configModules = ["config"])
This module/s has/have access to all other modules and even to internal classes that are not public (classes that do not reside in the top level package of a module and also do not reside in a @NamedInterface
-package)
Yes, I think this is against the thought of modularization, but the advantage of the Modulith against MicroServices is, that I can still have a centralized configuration for the whole application without creating too many NamedInterfaces that could also be accesses by other modules, even if they should not access it. Goal is to keep this beans / classes private (without @NamedInterface
) but still be able to configure them via a central configuration.
Similar to open sharedModules, but the other way around.
Open for discussion. Thanks!