web
web copied to clipboard
Refactor module names to reflect component location in architecture
Module names should reflect their location in the architecture.
For instance the application service Trento.SapSystems.HealthSummaryService
should be Trento.Application.UseCases.SapSystems.HealthSummaryService
.
It doesn't have to be prescriptive, yet clear and useful. Let's have a discussion about this.
For instance the dto located in lib/trento/application/usecases/sap_systems/dto/health_summary_dto.ex
could be
Trento.Application.UseCases.SapSystems.Dto.HealthSummary
or
Trento.Application.UseCases.SapSystems.Dto.HealthSummaryDto
:-1:
or simply
Trento.Application.UseCases.SapSystems.HealthSummaryDto
which is also acceptable.