redhat-developer / redhat-developer/quarkus-ls

Support for Bean validation annotations

Open
#147 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
50
Forks
18
Avg merge
22h 11m
Merged PRs (30d)
3

Description

In sample https://quarkus.io/guides/config#additional-notes-on-configproperties there is Size bean validation which is used:

@ConfigProperties(prefix = "greeting")
public class GreetingConfiguration {

    @Size(min = 20)
    public String message;
    public String suffix = "!";

}

Quarkus LS should support validation for size min = 20.

What about other bean validation annotations?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the additional-notes-on-configproperties guide example and its @Size(min = 20) annotation. Trace how Quarkus LS currently validates configuration properties, then determine the scope for supporting this constraint and other bean validation annotations. Done means the sample's size constraint is recognized and the supported annotation behavior is covered by verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.