Open cterse opened 5 years ago
We are using field injection for now. But IntelliJ Idea inspector suggests to not use field injection and use constructor injection instead.
Research about this, and perform code refactoring wherever needed.
https://www.vojtechruzicka.com/field-dependency-injection-considered-harmful/
Good article on comparison of the 3 dependency injection types.
We are using field injection for now. But IntelliJ Idea inspector suggests to not use field injection and use constructor injection instead.
Research about this, and perform code refactoring wherever needed.