Skip to content

Dependency Rule is Violated #3

Description

@curran

@unclebob Is it not true that all the arrows should point inward?

image

In this codebase, I see that CodecastDetailsUseCase (in package cleancoderscom.usecases) imports cleancoderscom.Context, which in turn imports cleancoderscom.gateways.CodecastGateway (from package cleancoderscom.gateways).

Therefore, doesn't the Use Case layer import from the Gateway layer, which violates the dependency rule?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions