Skip to content

Implement DTO Mapping Across the Application #10

Description

@muhduvais

Description

Currently, the project lacks a dedicated DTO (Data Transfer Object) mapping layer between the domain models and the API response/request objects.
This can lead to tight coupling between internal entities and external representations, making it harder to maintain and scale the codebase.

Objective

Introduce DTOs to cleanly separate:

  • Database layer
  • Service layer objects
  • API input/output models

Additional Notes

Adding DTOs will improve maintainability, encapsulation, and API consistency, and will make future refactoring easier.


Labels: enhancement, refactor, architecture

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions