wildfly-proposals
wildfly-proposals copied to clipboard
[WFLY-8136] allow JAX-RS annotations in CDI @Stereotype
https://issues.jboss.org/browse/WFLY-8136
@ronsigal , please see here
@xstefank Should this feature works on sub-resources? What about stereotype annotations on proxies/MP-REST client interfaces?
@marekkopecky AD updated
Should we close this? I don't really see this as an RFE since the spec requires the following:
In a product that supports CDI, implementations MUST support the use of CDI-style Beans as root resource classes, providers and Application subclasses. Providers and Application subclasses MUST be singletons or use application scope.
I've filed https://github.com/wildfly/wildfly/pull/17626 this. The Jakarta REST API itself should be adding the @Stereotype
and proper scope to each required annotation type in its next release.
@jamezp I think this can be closed. I leave it up to you. If it's landing in Jakarta REST no point in this RFE.
I think so too @xstefank. Thank you, there is https://issues.redhat.com/browse/EAP7-1228 for the RFE. I think I've got some PR's open too that need to be cleaned up :)