Hi,
I frequently encounter injections marked transient in client projects. I really think it would be of great help if we where to define Error/Warning when injection fields are marked transient.
As Mark pointed out there may be a valid use cases for non normal-scoped bean injections to be made transient.
My suggestion is:
- ERROR - when normal scoped injects are marked transient.
- WARNING - when non-normal scoped injects are marked transient.
Looking forward to your feedback.
Stephan