-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Clear and concise description of the problem
Arguably, toResponse
mapping should be a controller-level concern, and the service layer should not be aware of it.
Suggested solution
Move all toResponse
invocations to the controller layer.
Alternative
Leave the toResponse
invocations where they are in the service layer, if we determine that the service layer should have knowledge of the desired API-level format.
Additional context
Consider our "project structure" and "architecture" docs.
Validations
- Read the Contributing Guide.
- Read the
README.md
. - Check that there isn't already an issue that requests the same feature.
Metadata
Metadata
Assignees
Labels
No labels