jakartaee / jakartaee/validation

Be able to compose Pattern list with OR expression

Open
#157 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
163
Forks
67
Avg merge
3d 15h
Merged PRs (30d)
2

Description

Nowadays @Pattern validator is able to match a list of patterns. But the validation passes if all of pattern matches.
It could be helpful having a @Pattern.List configuration for tell the need to pass all (AND composition) or at least one (OR composition)

Contributor guide

Open the contributing guide

Research direction

Start by reading the existing @Pattern validator and @Pattern.List behavior in the validation project. Determine how the requested configuration should distinguish all-patterns matching from at-least-one matching, then add coverage for both compositions and verify the existing behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
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.