clean-architecture-delivery-example
clean-architecture-delivery-example copied to clipboard
Repository interface from core layer has dependency on JPA entity
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!