How to use/implement Use Cases in this case?

43 views
Skip to first unread message

Erick Duarte

unread,
Mar 30, 2023, 8:10:03 AM3/30/23
to clean-code...@googlegroups.com
Hi everybody,
Consider an Notification System that handles different notifications (Telegram, Whatsapp, Websocket), where to each notification type the application has a different handler implementing the same interface.

I would like to know if the application should have different use cases or interactors implemented to each notification handler or a generic one  that depends on the interface above should suffice?

So, what is the better approach in Clean Architecture?



Reply all
Reply to author
Forward
0 new messages