Thursday 26 September 2019

Single or Separate Domain Model

I'm curious about developers who use TypeORM and more or less follow the clean architecture.Do you use a separate domain model, a plain ol typescript model AND the TypeORM model or do you just use one model for infrastructure AND domain?My opinion is that the TypeORM (or even sequelize for that matter) model classes are infrastructure level concerns, not domain layer concerns.

Submitted September 26, 2019 at 11:34PM by stemmlerjs

No comments:

Post a Comment