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

WebSocket: Add Quickfix for PathParams annotation for certain parameters #276

Closed
1 of 4 tasks
Tracked by #16
dalidia opened this issue Mar 23, 2022 · 1 comment · Fixed by #278
Closed
1 of 4 tasks
Tracked by #16

WebSocket: Add Quickfix for PathParams annotation for certain parameters #276

dalidia opened this issue Mar 23, 2022 · 1 comment · Fixed by #278
Assignees

Comments

@dalidia
Copy link
Contributor

dalidia commented Mar 23, 2022

Description:

Currently, if a parameter of type String, any Java primitive type, or boxed version thereof are used in methods on an annotated endpoint class decorated with @OnOpen and @OnClose, they need to have the annotation @PathParam. If they don't have it, they throw an error.

For this reason, we need to provide a quick fix for the user.

Specification:

@PathParam is used to annotate one or more parameters of methods on an annotated endpoint class decorated with any of the annotations @OnMessage, @onerror, @onopen, @onclose here

Type of language feature proposed:

Select all that apply

  • diagnostic
  • quick-fix
  • snippet
  • other, please specify:
@dalidia dalidia self-assigned this Mar 23, 2022
@dalidia
Copy link
Contributor Author

dalidia commented Mar 23, 2022

I am working on this issue

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

Successfully merging a pull request may close this issue.

1 participant