web icon indicating copy to clipboard operation
web copied to clipboard

Refactor module names to reflect component location in architecture

Open nelsonkopliku opened this issue 2 years ago • 0 comments

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.

nelsonkopliku avatar Apr 06 '22 15:04 nelsonkopliku