WinterFramework / winter

Web Framework with focus on python typing, dataclasses and modular design
MIT License
17 stars 18 forks source link

Handle domain events upon session flush #177

Closed pristupa closed 3 years ago

pristupa commented 3 years ago

Is your feature request related to a problem? Please describe. domain_event_handler is implemented in winter_ddd. However, it's not related to the session.flush in CRUDRepository which makes it difficult to use them together.

Describe the solution you'd like I want the domain event handler to work upon session flush in CRUDRepository.

Describe alternatives you've considered No.

Additional context No.