I have read at few places where it suggest not to use @Autowired on fields. Instead constructor injection is preferred
Created
September 25, 2018 19:56
-
-
Save iamitshri/11b34451cdbff1e01d73ff64c71e437e to your computer and use it in GitHub Desktop.
Spring: Use constructor Injection
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment