Jokubas Trinkunas
09/11/2025, 8:17 AM:feat:A:implementation
• :feat:A:api
• lower level module such as: libraries:network
, libraries:some-other-util
modules.
The idea is well-known, where implementation modules depend on api modules and api module can only depend on lower level modules. I have now a situation, where :feat:A:api
needs to reuse a class in :feat:B:api
, therefore requiring :feat:A:api
to depend on :feat:B:api
, I would like to avoid this, as it couples feature A with feature B.
What could be a solution to this type of problem? Should I introduce another lower level module like libraries:common-models
? It feels not right to me.
Should I try to refactor my API modules to avoid such dependency?
Any suggestions are appreciated, thanks!Ahmet Özcan
09/19/2025, 1:20 PMJoaquim Puyo
10/09/2025, 7:50 PM