BeanBinder bean validation groups support
Open
Nobody has claimed this yet.
candidate
enhancement
needs design
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 717
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 3
Description
@Artur- commented on Wed Aug 03 2016
// Constraint defined for the default group
@Size(min = 3, groups = FrontendValidation.class)
private String title;
// Constraint defined for a specific group
@NotEmpty
private String name;
binder.setConstraintGroups(
FrontendValidation.class,
javax.validation.groups.Default.class);
@pleku commented on Tue Oct 11 2016
SHOULD HAVE, but not necessary for FW8.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at BeanBinder, the entry point named by the issue, and trace its bean-validation configuration. Use the shown setConstraintGroups(...) calls and constraint examples as acceptance criteria; done means constraints in the selected groups are honored.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100