Apply aggregate pattern to data_prep.py. In data_prep.py, we will apply composition to all entities involved with country selection into one aggregate class appropriately named “Country Selection”, apply composition to all entities involved with daily cases into another aggregate class called “Daily Cases” and similarly for any entity involved in data handling. By creating a new classes it will be easier to detangle some references. Additonally we make a root for each aggregate.
What?
Applying aggregate design to forecast.py
Why?
To improve DDD of project, increase modularity of code and have consistent consistency constraints
How?
By encapsulating and using composition on entities
Description
Apply aggregate pattern to data_prep.py. In data_prep.py, we will apply composition to all entities involved with country selection into one aggregate class appropriately named “Country Selection”, apply composition to all entities involved with daily cases into another aggregate class called “Daily Cases” and similarly for any entity involved in data handling. By creating a new classes it will be easier to detangle some references. Additonally we make a root for each aggregate.
What?
Applying aggregate design to forecast.py
Why?
To improve DDD of project, increase modularity of code and have consistent consistency constraints
How?
By encapsulating and using composition on entities
Testing?
N/A
Screenshots (optional)
N/A
Anything Else?
Pls merge, thx