New answers tagged controller
1
vote
Is it good practice to return ApiResponse from a Spring service layer?
To be short, the answer is clearly no, but I will use many approach to argument this answer:
programmatic and pragmatic approach:
You are using Spring ApiResponse, and what if you use @Controller ...
1
vote
Is it good practice to return ApiResponse from a Spring service layer?
Is it good practice to return ApiResponse from a Spring service layer?
David Parnas proposed about modularization, and in particular the benefits of choosing your module boundaries so that the ...
3
votes
Is it good practice to return ApiResponse from a Spring service layer?
Let me change your question a little bit, as it could be general instead of Spring based.
Is it good practice to return an API Response from a service layer?
There is going to be multiple comments ...
Top 50 recent answers are included
Related Tags
controller × 38mvc × 16
service × 7
java × 6
design-patterns × 6
rest × 5
architecture × 4
design × 3
object-oriented × 3
clean-architecture × 3
view × 3
php × 2
python × 2
api × 2
architectural-patterns × 2
web-api × 2
spring × 2
use-case × 2
asp.net-core × 2
typescript × 2
model × 2
spring-boot × 2
javafx × 2
c# × 1
database × 1