jakartaee / jakartaee/validation

Review the list of "Open" BVAL Jira issues and move valid ones to this tracker

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

Description

There are some still valid ideas in the original BVAL Jira that might be of interest to the Validation spec. I'm adding a list of these below.

Key Summary
[BVAL-777](https://hibernate.atlassian.net/browse/BVAL-777) Compile time bean preparation instead of bootstrap time
[BVAL-750](https://hibernate.atlassian.net/browse/BVAL-750) Is @Valid supported in composite constraints
[BVAL-749](https://hibernate.atlassian.net/browse/BVAL-749) Update CONTRIBUTING.md for Specification Project's repositories
[BVAL-739](https://hibernate.atlassian.net/browse/BVAL-739) Java Bean method validation not working for Nested class @NotBlank with Immutables
[BVAL-737](https://hibernate.atlassian.net/browse/BVAL-737) ConstraintViolationException links to bean field(s)
[BVAL-729](https://hibernate.atlassian.net/browse/BVAL-729) Annotated bounded type parameter cause IllegalArgumentException
[BVAL-726](https://hibernate.atlassian.net/browse/BVAL-726) @Valid and nested objects
[BVAL-715](https://hibernate.atlassian.net/browse/BVAL-715) Allow asynchronous validation
[BVAL-711](https://hibernate.atlassian.net/browse/BVAL-711) Clarify what happens when mixing inheritance and default group redefinition
[BVAL-709](https://hibernate.atlassian.net/browse/BVAL-709) Clarify that behavior is undefined if legacy @Valid and type argument @Valid are given for same element
[BVAL-707](https://hibernate.atlassian.net/browse/BVAL-707) Fix intermittent test failures of ValidationTest#testCachedProvidersCanBeGarbageCollected()
[BVAL-704](https://hibernate.atlassian.net/browse/BVAL-704) Consider to create a new constraint for @Age
[BVAL-702](https://hibernate.atlassian.net/browse/BVAL-702) Precise that the cascaded validation VE resolution algorithm is restricted to the VEs compatible with the declared type
[BVAL-700](https://hibernate.atlassian.net/browse/BVAL-700) Add skew tolerance to time based constraints
[BVAL-698](https://hibernate.atlassian.net/browse/BVAL-698) Fix incorrect example in table 5.1
[BVAL-697](https://hibernate.atlassian.net/browse/BVAL-697) Include the ref type and ref number in the reference link title
[BVAL-696](https://hibernate.atlassian.net/browse/BVAL-696) Base class for ConstraintValidator implementors
[BVAL-694](https://hibernate.atlassian.net/browse/BVAL-694) In the XSD, relax the order of elements where the order does not matter
[BVAL-645](https://hibernate.atlassian.net/browse/BVAL-645) Support ConstraintValidator declaration via service loader
[BVAL-643](https://hibernate.atlassian.net/browse/BVAL-643) Promote Configuration#externalClassLoader to BV
[BVAL-641](https://hibernate.atlassian.net/browse/BVAL-641) Explore usage of DaisyDiff for rendering spec diffs
[BVAL-622](https://hibernate.atlassian.net/browse/BVAL-622) Validator.validateProperty is not enough for new collection support
[BVAL-597](https://hibernate.atlassian.net/browse/BVAL-597) Clarify semantics of meta-data API if field and property type differ
[BVAL-582](https://hibernate.atlassian.net/browse/BVAL-582) Allow to configure executable validation via Config
[BVAL-570](https://hibernate.atlassian.net/browse/BVAL-570) Integrate the value in some of (or all) the node types of a Path
[BVAL-557](https://hibernate.atlassian.net/browse/BVAL-557) Validate field / property constraint before class level constraint
[BVAL-553](https://hibernate.atlassian.net/browse/BVAL-553) Add support for JSR 310 types Duration and Period
[BVAL-523](https://hibernate.atlassian.net/browse/BVAL-523) Should we support Java 8 streams?
[BVAL-521](https://hibernate.atlassian.net/browse/BVAL-521) Provide easy option to disable lifecycle validation with JAX-RS
[BVAL-519](https://hibernate.atlassian.net/browse/BVAL-519) Evaluate integration with JSON-B
[BVAL-518](https://hibernate.atlassian.net/browse/BVAL-518) Provide facility for more flexible HTTP error codes when using BV with JAX-RS
[BVAL-516](https://hibernate.atlassian.net/browse/BVAL-516) Support Java Money (JSR 354)
[BVAL-515](https://hibernate.atlassian.net/browse/BVAL-515) Explore constraint implementation simplifications via lambdas
[BVAL-514](https://hibernate.atlassian.net/browse/BVAL-514) Integrate with WebSockets
[BVAL-507](https://hibernate.atlassian.net/browse/BVAL-507) Upgrade website to latest Awestruct and ideally new skin
[BVAL-506](https://hibernate.atlassian.net/browse/BVAL-506) Make re-generation of website work
[BVAL-503](https://hibernate.atlassian.net/browse/BVAL-503) Make BVAL friendly towards Java 9 modules
[BVAL-494](https://hibernate.atlassian.net/browse/BVAL-494) An annotation to reference other object annotations...
[BVAL-493](https://hibernate.atlassian.net/browse/BVAL-493) Simplify defining group on method validation
[BVAL-491](https://hibernate.atlassian.net/browse/BVAL-491) Consider offering a generic SPI to relax method constraint inheritance rules
[BVAL-490](https://hibernate.atlassian.net/browse/BVAL-490) Define additional data for a constraint
[BVAL-489](https://hibernate.atlassian.net/browse/BVAL-489) Clarify the scope of ValidatorFactory in a Java EE deployment
[BVAL-488](https://hibernate.atlassian.net/browse/BVAL-488) Provide gpg signature files with uploaded artifacts
[BVAL-482](https://hibernate.atlassian.net/browse/BVAL-482) Add an example which shows the usage of constraints on generic types
[BVAL-478](https://hibernate.atlassian.net/browse/BVAL-478) Make @NotNull influence DDL in JPA
[BVAL-475](https://hibernate.atlassian.net/browse/BVAL-475) Add the possibility to configure constraint definition dynamically
[BVAL-469](https://hibernate.atlassian.net/browse/BVAL-469) Clarify whether nesting of message parameters within EL expressions is legal
[BVAL-461](https://hibernate.atlassian.net/browse/BVAL-461) Support object-graph validation scope for constraint validators
[BVAL-457](https://hibernate.atlassian.net/browse/BVAL-457) Allow for determination of default group sequence depending on object state
[BVAL-426](https://hibernate.atlassian.net/browse/BVAL-426) Offer a public list of constraint implementations on beanvalidation.org and a pointer to their implementation
[BVAL-408](https://hibernate.atlassian.net/browse/BVAL-408) Consider deprecating @GroupSequence on classes (to refine the Default group) and use @ConvertGroup instead
[BVAL-396](https://hibernate.atlassian.net/browse/BVAL-396) Clarify behavior in case of hiding fields/properties
[BVAL-382](https://hibernate.atlassian.net/browse/BVAL-382) Type-safe approach for cross-parameter constraints
[BVAL-339](https://hibernate.atlassian.net/browse/BVAL-339) Support interpolation of dynamically set message parameters
[BVAL-313](https://hibernate.atlassian.net/browse/BVAL-313) Considering impact of Java 8 lambda expressions for Bean Validation API and constraints
[BVAL-294](https://hibernate.atlassian.net/browse/BVAL-294) Support validation of property paths
[BVAL-286](https://hibernate.atlassian.net/browse/BVAL-286) Introduce a ClassLoadingService to be configured via the Configuration instance
[BVAL-276](https://hibernate.atlassian.net/browse/BVAL-276) Consider a switch for adding a node representing the bean to property paths
[BVAL-267](https://hibernate.atlassian.net/browse/BVAL-267) Provide a ConstraintViolationException constructor to facilitate JSF integration
[BVAL-261](https://hibernate.atlassian.net/browse/BVAL-261) Let composed constraint return the message of the first failing constraint instead of the composed constraint
[BVAL-256](https://hibernate.atlassian.net/browse/BVAL-256) Provide means for disabling constraints from super types
[BVAL-252](https://hibernate.atlassian.net/browse/BVAL-252) Improve support for the creation of constraint libraries
[BVAL-251](https://hibernate.atlassian.net/browse/BVAL-251) Improve Bean Validation support for modularized environments
[BVAL-250](https://hibernate.atlassian.net/browse/BVAL-250) If no ValidationMessages.properties file, perhaps fall back to consulting whatever ends up being the value of the config value
[BVAL-248](https://hibernate.atlassian.net/browse/BVAL-248) Introduce order for property constraints and allow to stop validation for first failing property constraint
[BVAL-240](https://hibernate.atlassian.net/browse/BVAL-240) Revisit cross field validation
[BVAL-237](https://hibernate.atlassian.net/browse/BVAL-237) Expose validated bean via ConstraintValidatorContext
[BVAL-235](https://hibernate.atlassian.net/browse/BVAL-235) Support parameterized payload attributes
[BVAL-234](https://hibernate.atlassian.net/browse/BVAL-234) Ignore @NotNull on JPA's @GeneratedValue properties for pre-persist operations
[BVAL-233](https://hibernate.atlassian.net/browse/BVAL-233) Provide additional, including custom variables, for message interpolation
[BVAL-229](https://hibernate.atlassian.net/browse/BVAL-229) Offer a programmatic API to declare constraints on a domain model
[BVAL-225](https://hibernate.atlassian.net/browse/BVAL-225) Propose ability to provide default resource bundles (for a constraint definition provider)
[BVAL-224](https://hibernate.atlassian.net/browse/BVAL-224) Provide a way for accessing default implementations for XML configured bootstrap artifacts
[BVAL-220](https://hibernate.atlassian.net/browse/BVAL-220) Offer possibility to skip validation on empty or null
[BVAL-217](https://hibernate.atlassian.net/browse/BVAL-217) Separate the notion of message resolver vs message interpolator
[BVAL-216](https://hibernate.atlassian.net/browse/BVAL-216) Work with the JAXB EG to have a nice Bean Validation integration
[BVAL-215](https://hibernate.atlassian.net/browse/BVAL-215) Make composition more flexible (OR support)
[BVAL-214](https://hibernate.atlassian.net/browse/BVAL-214) Ability to validate an object and a list of changes
[BVAL-213](https://hibernate.atlassian.net/browse/BVAL-213) Convert persistence storage exception into Bean Validation exceptions
[BVAL-210](https://hibernate.atlassian.net/browse/BVAL-210) Make sure JTA / Java EE plays well with Bean Validation + JPA when exceptions occurs
[BVAL-199](https://hibernate.atlassian.net/browse/BVAL-199) Offer helper classes to build ConstraintViolationExceptions (and potentially raise them)
[BVAL-41](https://hibernate.atlassian.net/browse/BVAL-41) Support BeanInfo implementation to receive property names

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the listed BVAL Jira links and compare each item with the current Jakarta Validation tracker. Determine which ideas remain valid and move or recreate only those issues here; completion means the valid items are represented in this tracker with no unnecessary entries.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.