In this chapter, we examined the effects of applying DI unnecessarily or incorrectly. We also discussed some situations where employing DI is not the best tool for the job.
We then wrapped up the chapter with a list of 10 questions that you can ask yourself to determine whether DI is appropriate for your current use case.
In the next chapter, we'll wrap up our examination of DI with a review of everything we've discussed throughout this book. In particular, we'll contrast the state of our sample service now with its original state. We'll also take a quick look at how to start a new service with DI.