toothpick-runtime / toothpick.configuration / Configuration / forDevelopment
forDevelopment
open static fun forDevelopment(): Configuration
Performs many runtime checks. This configuration reduces performance. It should be used only during development. The checks performed are:
- cycle detection: check that not 2 classes depend on each other. Note that if of them uses a Lazy instance of the other or a Producer, then there is no such cycle.
- illegal binding detection: check no scope annotated class is used as the target of a binding.
Return
a development configuration.