Is it possible to exclude types from the default unnamed api of an Application Module? #1557
Unanswered
nilshartmann
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my understanding all public types inside an
ApplicationModuleare part of its public api ("unnamed" named interface). When adding types to another NamedInterfaces, those types are automatically excluded from the unnamed interface.Is there another way to exclude public java types from an ApplicationModule? Let's say, my module looks like this:
Assuming
OrderSupervisorneeds to accessOrderRepository,OrderRepositoryhas to bepublic, but that makes it part of theorderApplicationModule. Is it possible to exclude it other than moving it to a different (internal) subpackage?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions