Closed dannylu03 closed 1 year ago
You have a reference to
DBService
inChatScreen
and inMessageInteractor
.ChatScreen
should not have a reference toDBService
at all, only presenters and controllers, whileMessageInteractor
should reference a gateway!
Nice catch, just made the changes
What I've Done:
This makes it such that the Send Message architecture adheres to clean architecture as the inner layers won't depend on the outer layers.
What I have left: