Examples of business logic that exists between the DAO and the API layer:
- bookmark status workflow (transitions between statuses). Note: coupling between status and submitted on date should remain in the DAO
- shuffling between date formats presented/consumed in the API and the underlying DB fields
- code in ResponseFormatter
This list will invariably grow, at which point separation of concerns will become more important.
Examples of business logic that exists between the DAO and the API layer:
This list will invariably grow, at which point separation of concerns will become more important.