gnodet commented on PR #950: URL: https://github.com/apache/maven/pull/950#issuecomment-1803785911
> Why is `@Typed` required? It has a serious side effect in Sisu regarding how bean is bound... Oh, yes. That's actually the semantics that we need. The goal is to make sure the proxied bean is exposed only with interfaces. So we need `@Typed` in order to make sure it will be injected properly. I experimented with adding an interface list to `@SessionScoped`, but then, if the injection point was using the actual implementation class instead of an interface, the injection would fail without a proper explanation (just that setting the field did not work, but not with a ClassCastException or anything that could give a hint). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
