Effect CommunityEC
Effect Community16mo ago
6 replies
phischer

Determining the Ideal Number of Schemas for Domain, DTO, and Database Types

Fundamental question: If I have a domain type, a dto type and a database type, how many schemas should I ideally create?
- 3 schemas: On for the domain type, one for the dto type and one for the database type?
- 2 schemas: On between the dto and the domain and one between the database and the domain?
Should I think about schemas as something that is a contract between things or the shape of a thing?
Was this page helpful?