however, doing it at injection point is probably the wrong place, so how about at producer:
This is not possible. Client proxies are required to ensure proper functionality for normal scoped beans. That's why "unwrapping proxy" is a corner case that should require some extra handling from the client (injection site).
It would probably make more sense to start this discussion at the spec level.
Feel free to create a spec issue here: https://github.com/eclipse-ee4j/cdi/issues. |