wildfly-proposals icon indicating copy to clipboard operation
wildfly-proposals copied to clipboard

[WFLY-8136] allow JAX-RS annotations in CDI @Stereotype

Open xstefank opened this issue 5 years ago • 4 comments

https://issues.jboss.org/browse/WFLY-8136

xstefank avatar May 07 '19 10:05 xstefank

@ronsigal , please see here

asoldano avatar May 10 '19 12:05 asoldano

@xstefank Should this feature works on sub-resources? What about stereotype annotations on proxies/MP-REST client interfaces?

marekkopecky avatar May 16 '19 11:05 marekkopecky

@marekkopecky AD updated

xstefank avatar May 28 '19 13:05 xstefank

Should we close this? I don't really see this as an RFE since the spec requires the following:

Section 11.2.3

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 avatar Feb 12 '24 23:02 jamezp

@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.

xstefank avatar Jul 12 '24 13:07 xstefank

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 :)

jamezp avatar Jul 15 '24 15:07 jamezp