Open adam-mrozik opened 1 year ago
I don't know anything about Flask signals or event listeners i'm afraid. from you saying "react to changes to the data", i'm guessing they're actually hooked into flask-sqlalchemy or some sort of database/storage plugin?
it sounds like they're essentially doing the same job as domain events, but using some infrastructure / tools that are coupled to the db?
Hey,
I am looking at rebuilding some Flask services under the idea you are showcasing here.
Issue is that a lot of what we did was build on Flask
event_listeners
. What they do is essentially react to any changes to the data.Do you have any proposal how to essentially be able to reuse those for SQLAlchemy prod use-case, but have them as mocks for tests?