clean-architecture-delivery-example icon indicating copy to clipboard operation
clean-architecture-delivery-example copied to clipboard

Repository interface from core layer has dependency on JPA entity

Open a-litsov opened this issue 2 years ago • 0 comments

Hello, I found small mistake here: https://github.com/eliostvs/clean-architecture-delivery-example/blob/ea77a0dee0b6d6e625d5e03516937f4d03f915c2/src/main/java/com/delivery/core/usecases/customer/CustomerRepository.java#L13 It seems for some reason that CustomerData (JPA) instead of Customer is used in the Repository interface and therefore our inner layer (usecase) depends on the outer layer (persistence). But anyways I would like to thank you for this repository, very helpful!

a-litsov avatar Sep 12 '23 07:09 a-litsov