Hi Dan! I'm wondering what provides an autocomplete for Spring properties in intellij? I don't have autocomplete for properties and would like to install it. Thanks in advance!
@@сойка-и8й [As far as I am aware!] Technically they are not the same. Both accomplish the same goal. However, field injection uses Java Reflection which costlier than constructor injection. In addition, I believe field injection can potentially cause issues during testing due to the manner the object is initialized
Thank you infinitely for such an interesting and useful video 😊 I have always been defining properties in the application.properties file, however, lately I have tried to define in the application.yaml file and I find it very convenient, too 😊
Just subscribed. Good content Dan. I highly appreciate your content
hit that subscribe button, this channel should have 100K in this year
That is my pipe dream goal for this year 🤩 Thank you!
Great tutor! I love your videos
Thank you, Dan.. very useful! :D
Good stuff! Thanks for sharing!
Thanks for watching!
Super nice and new! Thx, Dane!
Great video, helpful stuff!
Interesting. Why I don't need to add the key "url" for the website record?
Gratitudes Dan!
Can you give us an example for Map to be written in yaml? That would help as this ones looks tricky
It was great. Thanks
The @Autowire annotation in the tests is redundant/not necessary since some time, right?
Hi Dan! I'm wondering what provides an autocomplete for Spring properties in intellij? I don't have autocomplete for properties and would like to install it. Thanks in advance!
Intellij Idea Ultimate. The community edition doesnt have spring specific autocomplete
Sir, may I ask a question? Why do we use the @Autowired annotation instead of constructor injection? Are they the same? Thanks for enlightening.
Yes they are same
@@сойка-и8й [As far as I am aware!] Technically they are not the same. Both accomplish the same goal. However, field injection uses Java Reflection which costlier than constructor injection. In addition, I believe field injection can potentially cause issues during testing due to the manner the object is initialized
I know the advice is to.use constructor injection
That's why I also interested to know why in test wore the field injection is used.
@@Muescha my understanding is that field injection is fine within the test itself, because you are not going to write a test for the test.
Thank you infinitely for such an interesting and useful video 😊
I have always been defining properties in the application.properties file, however, lately I have tried to define in the application.yaml file and I find it very convenient, too 😊
what's the name of this intellij theme?