Skip to main content

New answers tagged

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 ...
pdem's user avatar
  • 235
4 votes

Where should I store the access token in React?

What happens when the user refreshes the page? is the refresh token sent? Are you sending the refresh token with every request? The key idea with a refresh token is that its securely stored on the ...
Ewan's user avatar
  • 84.6k
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 ...
VoiceOfUnreason's user avatar
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 ...
captncrunch's user avatar

Top 50 recent answers are included