Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: clean arch refactor #14

Closed
wants to merge 3 commits into from
Closed

Conversation

9sneha-n
Copy link
Contributor

@9sneha-n 9sneha-n commented Aug 27, 2024

📌 References

📝 Implementation

  1. Refactor : Rename DiseaseOutbreakEventBaseAttrs to EventTracker to make more meaningful entities. Now, a DiseaseOutbreak event is a aggregate of all other entities - EventTracker, RiskAssessment, IncidentActionPlan etc.
  2. Refactor: Rename DiseaseOutbreakRepository to EventTrackerRepository because we were actually getting the Event Tracker info in this repository. We aggregate the data into a DiseaseOutbreakEvent in GetDiseaseOutbreakByIdUseCase.

📹 Screenshots/Screen capture

🔥 Notes to the tester

@9sneha-n 9sneha-n marked this pull request as ready for review August 27, 2024 15:01
@9sneha-n 9sneha-n requested a review from xurxodev August 27, 2024 15:07
@9sneha-n
Copy link
Contributor Author

9sneha-n commented Sep 4, 2024

After discussion with Jorge, we need a bigger refactor using aggregator design. will reopen this PR with more changes at a later time.

@9sneha-n 9sneha-n closed this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant