SORMAS-Project icon indicating copy to clipboard operation
SORMAS-Project copied to clipboard

Wire up missing facades to `BaseFacade`

Open JonasCir opened this issue 2 years ago • 0 comments

Problem Description

We have the BaseFacade mechanism, however, there are still facades which do not extend it. This would allow for greater consistency and less duplicated code.

Proposed Change

Wire up:

  • [x] PersonFacade PR: https://github.com/hzi-braunschweig/SORMAS-Project/pull/9709
  • [ ] SampleFacade
  • [ ] VisitFacade
  • [ ] VaccinationFacade
  • [ ] UserFacade
  • [ ] TreatmentFacade
  • [ ] PrescriptionFacade
  • [ ] TaskFacade
  • [ ] SystemEventFacade
  • [ ] PathogenTestFacade
  • [ ] UserRoleFacade

Write architecture test to enforce that facades extend BaseFacade but keep an allow list for stuff like ImportExportFacade.

JonasCir avatar Jul 01 '22 13:07 JonasCir