Chris
Chris

Reputation: 7359

Domain Driven Design: Specification Question

currently the system I am working on is layered like this

In which layer would I put the specification implementations? Infrastrucutre?

Upvotes: 1

Views: 470

Answers (1)

Mark Seemann
Mark Seemann

Reputation: 233150

Specifications are part of the Domain Model.

This pattern is described in Domain-Driven Design, and since this book deals explicitly with Domain Modeling, I think it's fair to say that it belongs in the Domain Layer.

Upvotes: 4

Related Questions