alexhelder
03/22/2025, 9:29 PMFacade that implements a few other interfaces, but I don’t want to leak One and Two outside the compilation unit, are there any options? Making One and Two internal does not work.
interface One
interface Two
interface Facade: One, Two
The interfaces are broken up like this so separate classes can implement class based delegation of One, Two:
interface One
interface Two
interface Facade : One, Two
class FacadeImpl(
one: One,
two: Two,
) : Facade, One by one, Two by two
Clients in other modules should only see a unified Facade interface