Did you ever find a better solution for this problem?
I ended up creating an artificial module :hiltbridge
which implements both :domain
and :data
and only contains one di file, the RepositoryModule
binding the interface (from domain) with the implementation (from data).
:app
implements this :hildbridge
module instead of :data
It is still not an ideal solution, but I prefer it this way rather than :app
implementing the whole :data
module