-
Notifications
You must be signed in to change notification settings - Fork 121
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
Deprecate both @Context and @Suspended #1210
Deprecate both @Context and @Suspended #1210
Conversation
5dc806e
to
df42edf
Compare
b5e5dd3
to
f6dbe89
Compare
This PR is a violation of the committer rules of this project if we take them word-by-word: https://github.com/jakartaee/rest/wiki/Committer-Conventions. There were no three +1 votes, there was no two-weeks voting time. We need to discuss if we set up lower barriers for 3.2 (which I am +1 actually; one way could be to extend the rules by the notion of "working branches", hence |
My apologies Markus. I was thinking of release-3.2 as a "working branch" since we do not have a release plan etc. for it yet and Santiago had requested that we determine if certain issues could be worked through concerning deprecation prior to taking that step. I should have stated that clearly. That being said it sounds like you are not adverse to proceeding this way until such a time as 3.2 is "official", at which time the content of PRs already applied could be confirmed via a vote, with the content removed if found to not be acceptable. |
I am not standing in the way of dealing with |
Just came across this PR while moving to 3.1. I know that |
@paulrutter Effectively it will be the same, As an example: @POST
@Path("async")
@Consumes(MediaType.TEXT_PLAIN)
public void putMessageAsync(
@QueryParam("override") boolean override,
String message,
@Suspended AsyncResponse ar) {
managedExecutor.submit() -> {
ar.resume("done");
});
} Would become: @POST
@Path("async")
@Consumes(MediaType.TEXT_PLAIN)
public void putMessageAsync(
@QueryParam("override") boolean override,
@Body String message,
AsyncResponse ar) {
managedExecutor.submit() -> {
ar.resume("done");
});
} |
Thanks for clarifying, that makes perfect sense. |
@jim-krueger one more question about
Is it still possible to get a handle on the |
@paulrutter This is still a work in progress, but I believe the goal is for it to look like this:
You'll want to keep an eye on Issue 1214 as that is where this problem is being tracked. |
Thanks, will do. |
Fixes #1209
Deprecate
@Context
and@Suspended
in release-3.2 in preparation for removal in release-4.0