You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
use DiagnosticTag.Unnecessary for validations that point out unnecessary things #1345
@manueljordan This issue is purely about adopting the DiagnosticTag capability of the language server protocol to mark diagnostics as deprecated or unnecessary, so that the client can render those diagnostics accordingly. The two mentioned annotations were just examples.
The validation that you mentioned for @RequestParam already shipped a few releases ago.
Activity
manueljordan commentedon Sep 5, 2024
About
Do you mean about:
From
To
Therefore from
@PathVariable(name="id")to@PathVariable. It thanks to:If yes, it applies for
@RequestParamtoo such as:From
To
But here is tricky because the URL is unknown until runtime
GH-1345: use diagnostics tags from lsp protocol to mark unnecessary a…
martinlippert commentedon Nov 18, 2024
@manueljordan This issue is purely about adopting the DiagnosticTag capability of the language server protocol to mark diagnostics as deprecated or unnecessary, so that the client can render those diagnostics accordingly. The two mentioned annotations were just examples.
The validation that you mentioned for
@RequestParamalready shipped a few releases ago.martinlippert commentedon Nov 18, 2024
Fixed with e285e3a