Skip to content

Avoiding @Value Initialization for Existing Instances #44

Answered by mbierlee
vnayar asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @vnayar, thank you for bringing this to my attention. It seems that this is indeed a bug. Once an instance has been created, especially a singleton, there should be no need to re-inject values over and over. It sounds like this is a matter of things being done in the wrong order in the injection system. I will investigate further and create a fix when time allows.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vnayar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants