A DTO pattern should be used in the APIs
- Acronym
- dto-pattern
- Belongs to
-
SIG APIs
- Responsible
-
Stefan Bente
- History
- (v1) 2021-01-29 - created initially
Why is there need for such a decision?
If we expose entities over APIs, a uniform architecture helps maintainability.
Additional sources for better understanding the background
Viable Options
- Custom-tailored DTO for each UI screen
- no recommendation, each team designs API on its own
Alternatives not seriously considered
none
How is this decision evaluated?
Good practice from literature.
Resolution Details
Recommended pattern can be found in the EVATool wiki.
Reasons for the resolution
see above, good practice.