Skipping Incoming Ports

Learn why you should skip incoming ports.

While the outgoing ports are necessary to invert the dependency between the application layer and the outgoing adapters (to make the dependencies point inward), we don’t need the incoming ports for dependency inversion. We could decide to let the incoming adapters access our application services directly, without incoming ports in between, as shown in the figure below.

Skipping incoming ports

Get hands-on with 1400+ tech skills courses.