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

Only reports one error when two exist in Bean Validation #523

Open
1 of 4 tasks
turkeylurkey opened this issue May 27, 2024 · 1 comment
Open
1 of 4 tasks

Only reports one error when two exist in Bean Validation #523

turkeylurkey opened this issue May 27, 2024 · 1 comment
Labels
design diagnostic Diagnostic item

Comments

@turkeylurkey
Copy link
Contributor

Description:

When there are two errors the language server should detect and report them both. If you only report one error then the user may be confused when you later report another. This is a quality of implementation issue.

Here is a screen cap from the FieldConstraintValidation test case:
image
If you fix the static keyword then this diagnostic is generated.
image
It seems like both could be generated on the first pass.

Type of language feature proposed:

Select all that apply

  • diagnostic
  • quick-fix
  • snippet
  • other, please specify:
@turkeylurkey turkeylurkey added design diagnostic Diagnostic item labels May 27, 2024
@turkeylurkey
Copy link
Contributor Author

turkeylurkey commented May 27, 2024

The same applies with @AssertFalse in MethodConstraintValidation.java.
image
This has invalid type and is static.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design diagnostic Diagnostic item
Projects
None yet
Development

No branches or pull requests

1 participant