Skip to content

[Question] How to prevent domain layer from direct reference to the infrastructure? #61

@devbased

Description

@devbased

By specifying converters in attribute we automatically tie domain layer with infrastructure.

  • Domain
    • OrderId(Converters: Dapper | EfCore) <-- produces code which depends on Microsoft.EntityFrameworkCore and Dapper
  • Infrastructure.Dapper
  • Infrastructure.EfCore
  • Api

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