update dto example
This commit is contained in:
parent
914cbd37a1
commit
f58cf050e3
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ intentionally omitted here - update this section as entities land.
|
|||
|
||||
- Look at similar entities for reference before writing anything new
|
||||
- Entities: constructor with properties, getters
|
||||
- DTOs: simple data containers for creation (e.g. `CreateSetDto`)
|
||||
- DTOs: simple data containers for creation (e.g. `CreateElementDto`)
|
||||
- Repositories: interfaces that define data access
|
||||
- Do not write unit tests for concrete repository implementations
|
||||
(e.g. `Postgres*Repository`). They are exercised by e2e tests.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue