Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
If i have two services, lets say IPrinterService and ILoggerService, should I inject ILoggerService into my implementation of IPrinterService and log exceptions from my implementation, or should i inject both services into my ViewModel and if IPrinterService throws exception then log this using injected ILoggerService?
My opinion is that you should do whatever will create the least number of dependencies in your code. This usually (but not always) means injecting the logger service into the printer service.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I'm looking for a solution that would enable me to deploy Sbt as a BSP server or any other protocol, on Kubernetes, and use my IDE to work with it via, say, port forwarding.
Is this technically possible? Before going into things like DevSpace or Okteto, I was wondering, if anyone could share their experience trying to do it with SBT Server capability directly.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
working in a vehicle protection association and I need to identify which of our associates are uber drivers, is this possible to be done using the api?
Taking a look at the documentation, there are only these endpoints https://developer.uber.com/docs/drivers/references/api#endpoints.
And I think none of them solves the problem.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
When configuring springboot's application.properties, how do I know which properties can be configured under spring.jpa.properties
Spring's documentation is a great place to start.
You'll be interested in the DATA section
If you'd like to know what a specific JPA provider offers, take a look at the concrete provider's documentation, hibernate for example.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I'm going to develop a web-application and planning to expose several APIs to customer. Also, going to consume several APIs from third party system
Rest or RestQL or Falcor or GraphQl
Which one would be the best choice of the above 4???
Thanks.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
Are there any known best practices for web service REST API bulk naming?
Some suggestions for user resource :
/api/users-bulk
/api/bulk/users
/api/users/bulk
/api/users/_bulk
There is no rules, you can use any routes, but I prefer 3rd /api/users/bulk in case bulk is additional functionality for users (like get all users /api/users, get user by id /api/users/:id, ...). In this case all user related operations are under /api/user/.