Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle @Body annotation in a deprecated @Context injection version #1207

Open
jim-krueger opened this issue Jan 24, 2024 · 0 comments
Open

Comments

@jim-krueger
Copy link
Contributor

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.

@jim-krueger jim-krueger changed the title How should the @Body annotation be handled in a deprecated @Context injection environment Handle @Body annotation in a deprecated @Context injection environment Jan 24, 2024
@jim-krueger jim-krueger changed the title Handle @Body annotation in a deprecated @Context injection environment Handle @Body annotation in a deprecated @Context injection version Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant