The purpose of this issue is to discuss/document how the @Body annotation will potentially be handled in Jakarta Rest 3.2 where both the deprecated @Context injection and a straight CDI injection model are supported.
Background: The @Body annotation needed to be added to identify the Entity parameter in situations were multiple parameters exist. In previous versions of Jakarta Rest the Entity would be the only non-annotated parameter, which may not be the case in a post-@Context injection environment.
The purpose of this issue is to discuss/document how the @Body annotation will potentially be handled in Jakarta Rest 3.2 where both the deprecated @Context injection and a straight CDI injection model are supported.
Background: The @Body annotation needed to be added to identify the Entity parameter in situations were multiple parameters exist. In previous versions of Jakarta Rest the Entity would be the only non-annotated parameter, which may not be the case in a post-@Context injection environment.