🦠A simple and fast (< 200ms) API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak. It's written in python using the 🔥 FastAPI framework. Supports multiple sources!
Adds a LocationInfo to TimelinedLocationObject to encapsulate the location data. Previous naming (TimelinedLocation) was inaccurate as the object contained more than the name implies. This approach creates an aggregate for the fields relating to location (country, province, coordinates) so that it exists as a unit for the purpose of data changes.
Why it's important
Further encapsulates data and creates a new root and boundary. Prevents data unexpected data mutations and ensures consistency of changes.
What it does
Adds a LocationInfo to TimelinedLocationObject to encapsulate the location data. Previous naming (TimelinedLocation) was inaccurate as the object contained more than the name implies. This approach creates an aggregate for the fields relating to location (country, province, coordinates) so that it exists as a unit for the purpose of data changes.
Why it's important
Further encapsulates data and creates a new root and boundary. Prevents data unexpected data mutations and ensures consistency of changes.