[cdi-dev] CDI-616 Injection point declared as transient is not useful
Stephan Knitelius
stephan at knitelius.com
Tue Jul 19 03:24:18 EDT 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20160719/c814081e/attachment.html
More information about the cdi-dev
mailing list