Hyperskill-Community / flashcards

Digital flashcard app
4 stars 0 forks source link

Clean separation of web and service layer in backend #52

Open wisskirchenj opened 9 months ago

wisskirchenj commented 9 months ago

Controller methods should not provide the (web-layer) request to the server, If we map request to document already in the controller, the mapper is only needed to autowire in the controllers - and the request / response dto dependencies stay only in the web (controller) layer.