AY2324S2-CS2113T-T09-1 / tp

0 stars 6 forks source link

[#226] Fix saving and loading to include DailyMedication #228

Closed annoy-o-mus closed 7 months ago

annoy-o-mus commented 7 months ago

Checklist for feature implementation and modification

Closes #226

Additional Information

Previously, the load and save only works on Medication JSON data. This creates potential problem when loading Medication while DailyMedication remains unaffected, resulting in potential compatibility issues.

The change is made such that now when using the load and save command, the corresponding DailyMedication data gets saved and loaded too

Also Streamlines some loading and saving functionality