Closed skonik closed 1 year ago
@skonik hello :wave:
The service layer might not be a good place for what you are describing.
I'd do the following:
integrations
app, so I'd do something like integrations/notifications/
and then have the Python implementation there (depending on how you like to structure your Python modules. The simplest would be to place it in __init__.py
)notifications/
and put everything there.
That's my take for now.
If you have some codesnippets & more examples, I might be able to be more helpful ✨
I think that's all what I wanted to hear. Thank you!
Hey
I would like to discuss if you have any thoughts on where to store interfaces/adapters. Let's say you have notification system used in your services. You know that you might change it from
expo
push API tofirebase
push API. You have written an interface for that(abstract push notification client). Where would you put abstract and concrete classes of push notification client? Is it good idea to store it insideservices
or maybe in another place? What would you say?You have really good styleguide, btw.