Support for @Context Injection: Removal of @Context injection support in future versions. Please add this as a NOTE and also provide an alternative example using CDI. No need to update the examples at this time.
@spericas can you take a look at this in the next couple of days? I'd love to know (a) if this looks accurate for Jakarta EE 10 and (b) if you or someone on the team can make this change. Thanks!
Current section on Jakarta REST: https://jakartaee.github.io/jakartaee-documentation/jakartaee-tutorial/current/websvcs/jaxrs/jaxrs.html
Background info on Jakarta REST 3.1:
Please make these changes:
@Context
Injection: Removal of@Context
injection support in future versions. Please add this as a NOTE and also provide an alternative example using CDI. No need to update the examples at this time.If you have the interest and bandwidth to create examples that build and run in the https://github.com/eclipse-ee4j/jakartaee-examples repo, let us know and we'll create a separate ticket for it.